DicomObjects.NET.V8
DicomObjects Namespace / DicomDataSet Class / Write Method / Write(String) Method

The name of the file to write.

This is passed unmodified to the operating system, and it is therefore the container�s responsibility to ensure either that the current directory is set correctly, or that a fully qualified filename is provided.




In This Topic
    Write(String) Method
    In This Topic
    Writes dataset to an external DICOM file
    Syntax
    'Declaration
     
    Public Overloads Sub Write( _
       ByVal FileName As String _
    ) 
    'Usage
     
    Dim instance As DicomDataSet
    Dim FileName As String
     
    instance.Write(FileName)
    public void Write( 
       string FileName
    )
    public:
    void Write( 
       String^ FileName
    ) 

    Parameters

    FileName

    The name of the file to write.

    This is passed unmodified to the operating system, and it is therefore the container�s responsibility to ensure either that the current directory is set correctly, or that a fully qualified filename is provided.

    Remarks

    The file may subsequently be read by the Read method or by other DICOM software.

    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also