'Declaration
Public Overloads Function Read( _ ByVal FileName As System.String, _ Optional ByVal ReadBehaviour As ReadBehaviours _ ) As DicomImage
'Usage
Dim instance As DicomImageCollection Dim FileName As System.String Dim ReadBehaviour As ReadBehaviours Dim value As DicomImage value = instance.Read(FileName, ReadBehaviour)
public DicomImage Read( System.string FileName, ReadBehaviours ReadBehaviour )
public function Read( FileName: System.String; ReadBehaviour: ReadBehaviours ): DicomImage;
public function Read( FileName : System.String, ReadBehaviour : ReadBehaviours ) : DicomImage;
public: DicomImage* Read( System.string* FileName, ReadBehaviours* ReadBehaviour )
public: DicomImage^ Read( System.String^ FileName, ReadBehaviours^ ReadBehaviour )
Parameters
- FileName
The name of the file to read.
This is passed unmodified to the operating system, and it is therefore the container’s responsibility to ensure either that the file exists within the current directory, or that a fully qualified filename is provided.
- ReadBehaviour
The behaviours to be used when reading this stream