DicomObjects.NET.V8
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.

ReadBehavioursObject 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
    ReadBehavioursObject to control individual read operation

    Return Value

    Remarks
    A direct constructor of DicomDataSet object.
    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also