Write(Stream,Boolean) Method
Writes dataset to a system IO stream object
public void Write(
System.IO.Stream ,
System.bool
)
public procedure Write(
: System.IO.Stream;
: System.Boolean
);
public function Write(
: System.IO.Stream,
: System.boolean
);
public: void Write(
System.IO.Stream* ,
System.bool
)
public:
void Write(
System.IO.Stream^ ,
System.bool
)
'Declaration
Public Overloads Sub Write( _
ByVal As System.IO.Stream, _
ByVal As System.Boolean _
)
'Usage
Dim instance As DicomDataSet
Dim Stream As System.IO.Stream
Dim isPart10 As System.Boolean
instance.Write(Stream, isPart10)
Parameters
- Stream
The Stream from which to read.
- isPart10
If TRUE, a blank 128 byte header, DICM marker, and meta-header are written at the start of the stream, and an appropriate transfer syntax is used, as below.
If FALSE, the stream is written in the unofficial, but common format, with no header, and using the little-endian implicit VR transfer syntax.
Target Platforms: .NET CLR 4.8 or higher