'Declaration Public Overloads Function Read( _ ByVal Stream As Stream, _ Optional ByVal ReadBehaviour As ReadBehaviours _ ) As DicomDataSet
'Usage Dim instance As DicomDataSetCollection Dim Stream As Stream Dim ReadBehaviour As ReadBehaviours Dim value As DicomDataSet value = instance.Read(Stream, ReadBehaviour)
public DicomDataSet Read( Stream Stream, ReadBehaviours ReadBehaviour )
public: DicomDataSet^ Read( 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 DicomDataSet Object is returned, and is added to the appropriate collection. If unsuccessful, an appropriate error is thrown.