Write(String,String,DicomDataSet) Method
Writes dataset to an external DICOM file with specified transfer syntax and meta
header
public void Write(
System.string ,
System.string ,
DicomDataSet
)
public procedure Write(
: System.String;
: System.String;
: DicomDataSet
);
public function Write(
: System.String,
: System.String,
: DicomDataSet
);
public: void Write(
System.string* ,
System.string* ,
DicomDataSet*
)
public:
void Write(
System.String^ ,
System.String^ ,
DicomDataSet^
)
'Declaration
Public Overloads Sub Write( _
ByVal As System.String, _
ByVal As System.String, _
ByVal As DicomDataSet _
)
'Usage
Dim instance As DicomDataSet
Dim FileName As System.String
Dim TransferSyntax As System.String
Dim MetaHeader As DicomDataSet
instance.Write(FileName, TransferSyntax, MetaHeader)
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.
- MetaHeader
The customized MetaHeader (only Group 2 Elements)
Target Platforms: .NET CLR 4.8 or higher