Write(String,String) Method
Write the image data to a file with specified transfer syntax
public void Write(
System.string ,
System.string
)
public procedure Write(
: System.String;
: System.String
);
public function Write(
: System.String,
: System.String
);
public: void Write(
System.string* ,
System.string*
)
public:
void Write(
System.String^ ,
System.String^
)
'Declaration
Public Overloads Sub Write( _
ByVal As System.String, _
ByVal As System.String _
)
'Usage
Dim instance As DicomImage
Dim FileName As System.String
Dim TransferSyntax As System.String
instance.Write(FileName, TransferSyntax)
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.
- TransferSyntax
Specifies the full UID of the transfer syntax with which the file is to be saved when Part 10 format is used. If omitted, the little-endian explicit VR transfer syntax is used. For details of the currently supported syntaxes, see the entry.
Target Platforms: .NET CLR 4.8 or higher