'Declaration
Public Overloads Function Read( _ ByVal Stream As System.IO.Stream, _ Optional ByVal ReadBehaviour As ReadBehaviours _ ) As DicomImage
'Usage
Dim instance As DicomImageCollection Dim Stream As System.IO.Stream Dim ReadBehaviour As ReadBehaviours Dim value As DicomImage value = instance.Read(Stream, ReadBehaviour)
public DicomImage Read( System.IO.Stream Stream, ReadBehaviours ReadBehaviour )
public function Read( Stream: System.IO.Stream; ReadBehaviour: ReadBehaviours ): DicomImage;
public function Read( Stream : System.IO.Stream, ReadBehaviour : ReadBehaviours ) : DicomImage;
public: DicomImage* Read( System.IO.Stream* Stream, ReadBehaviours* ReadBehaviour )
public: DicomImage^ Read( System.IO.Stream^ Stream, ReadBehaviours^ ReadBehaviour )
Parameters
- Stream
The Stream from which to read.
- ReadBehaviour
The behaviours to be used when reading this stream
Return Value
If successful, a DicomImage Object is returned, and is added to the appropriate collection. If unsuccessful, an appropriate error is thrown.