DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / ReadBehaviours Class / ThrowNotDICOMDIRError Property






In This Topic
    ThrowNotDICOMDIRError Property
    In This Topic
    Controls whether to throw an exception if a file which is apparently a DICOM does not contain the expected DICOMDIR offset attributes.
    Syntax
    'Declaration
     
    
    Public Property ThrowNotDICOMDIRError As System.Boolean
    'Usage
     
    
    Dim instance As ReadBehaviours
    Dim value As System.Boolean
     
    instance.ThrowNotDICOMDIRError = value
     
    value = instance.ThrowNotDICOMDIRError
    public System.bool ThrowNotDICOMDIRError {get; set;}
    public read-write property ThrowNotDICOMDIRError: System.Boolean; 
    public function get,set ThrowNotDICOMDIRError : System.boolean
    public: __property System.bool get_ThrowNotDICOMDIRError();
    public: __property void set_ThrowNotDICOMDIRError( 
       System.bool value
    );
    public:
    property System.bool ThrowNotDICOMDIRError {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks

    The default value of this property is derived from the ThrowNotDICOMDIRError value of the internal registry, which in turn has a default value of 1, causing this property to be true.

    This error can sometimes be triggered by files which are not DICOMDIRs but which for some reason do not contain a SOP class UID.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also