Write(Stream,String,DicomDataSet) Method
Writes dataset to a system IO stream object with specified transfer syntax and
meta header
public void Write(
System.IO.Stream ,
System.string ,
DicomDataSet
)
public procedure Write(
: System.IO.Stream;
: System.String;
: DicomDataSet
);
public function Write(
: System.IO.Stream,
: System.String,
: DicomDataSet
);
public: void Write(
System.IO.Stream* ,
System.string* ,
DicomDataSet*
)
public:
void Write(
System.IO.Stream^ ,
System.String^ ,
DicomDataSet^
)
'Declaration
Public Overloads Sub Write( _
ByVal As System.IO.Stream, _
ByVal As System.String, _
ByVal As DicomDataSet _
)
'Usage
Dim instance As DicomDataSet
Dim Stream As System.IO.Stream
Dim TransferSyntax As System.String
Dim MetaHeader As DicomDataSet
instance.Write(Stream, TransferSyntax, MetaHeader)
Parameters
- Stream
The Stream to which to write.
- TransferSyntax
Specifies the full UID of the transfer syntax with which the data 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