DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomDataSet Class / Write Method / Write(Stream) Method

The Stream to which to write.







In This Topic
    Write(Stream) Method
    In This Topic
    Writes dataset to a system IO stream object
    Syntax
    'Declaration
     
    
    Public Overloads Sub Write( _
       ByVal Stream As System.IO.Stream _
    ) 
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim Stream As System.IO.Stream
     
    instance.Write(Stream)
    public void Write( 
       System.IO.Stream Stream
    )
    public procedure Write( 
        Stream: System.IO.Stream
    ); 
    public function Write( 
       Stream : System.IO.Stream
    );
    public: void Write( 
       System.IO.Stream* Stream
    ) 
    public:
    void Write( 
       System.IO.Stream^ Stream
    ) 

    Parameters

    Stream

    The Stream to which to write.

    Remarks

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

    This method is particularly suitable for use with Delphi, which provides access to streams via classes such as TStreamAdapter.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also