DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomDataSet Class / Read Method / Read(String,ReadBehaviours) Method

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.




In This Topic
    Read(String,ReadBehaviours) Method
    In This Topic
    Reads from a DICOM file, using specific read behaviours
    Syntax
    'Declaration
     
    
    Public Overloads Sub Read( _
       ByVal FileName As String, _
       ByVal Behaviour As ReadBehaviours _
    ) 
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim FileName As String
    Dim Behaviour As ReadBehaviours
     
    instance.Read(FileName, Behaviour)
    public void Read( 
       string FileName,
       ReadBehaviours Behaviour
    )
    public:
    void Read( 
       String^ FileName,
       ReadBehaviours^ Behaviour
    ) 

    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.

    Behaviour
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also