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

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 System.String, _
       Optional ByVal ReadBehaviour As ReadBehaviours _
    )
    'Usage
     
    
    Dim Filename As System.String
    Dim ReadBehaviour As ReadBehaviours
     
    Dim instance As New DicomDataSet(Filename, ReadBehaviour)
    public DicomDataSet( 
       System.string Filename,
       ReadBehaviours ReadBehaviour
    )
    public DicomDataSet( 
        Filename: System.String;
        ReadBehaviour: ReadBehaviours
    ); 
    public function DicomDataSet( 
       Filename : System.String,
       ReadBehaviour : ReadBehaviours
    );
    public: DicomDataSet( 
       System.string* Filename,
       ReadBehaviours* ReadBehaviour
    )
    public:
    DicomDataSet( 
       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
    ReadBehavioursObject to control individual read operation

    Return Value

    Remarks
    A direct constructor of DicomDataSet object.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also