DicomObjects Reference
DicomObjects Reference / DicomDataSets Collection / ReadStream Method
The name of the stream from which to read.
Although this object must support an IStream interface, this is retrieved via a QueryInterface call, and any interface to the object may therefore be passed.
In This Topic
    ReadStream Method
    In This Topic
    Description
    Reads a dataset from an IStream
    Syntax
    Visual Basic
    Public Function ReadStream( _
       ByVal Stream As Unknown _
    ) As DicomDataSet
    Parameters
    Stream
    The name of the stream from which to read.
    Although this object must support an IStream interface, this is retrieved via a QueryInterface call, and any interface to the object may therefore be passed.
    Remarks
    This method can read streams in either official “Part10” format, with the 128 byte header, or unofficial “Part3” format, without a header, and detection of the type is automatic.
    The stream may have been written by the WriteStream method or by other DICOM software.
    See Also