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

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.

Object to control individual read operation



In This Topic
    DicomDataSet Constructor(String,ReadBehaviours)
    In This Topic
    Creates a new DicomDataSet from an external DICOM file
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal Filename As String, _
       Optional ByVal ReadBehaviour As ReadBehaviours _
    )
    'Usage
     
    
    Dim Filename As String
    Dim ReadBehaviour As ReadBehaviours
     
    Dim instance As New DicomDataSet(Filename, ReadBehaviour)
    public DicomDataSet( 
       string Filename,
       ReadBehaviours ReadBehaviour
    )
    public:
    DicomDataSet( 
       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
    Object to control individual read operation

    Return Value

    DicomDataSet
    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