DicomObjects.NET.V8
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 Boolean
    'Usage
     
    Dim instance As ReadBehaviours
    Dim value As Boolean
     
    instance.ThrowNotDICOMDIRError = value
     
    value = instance.ThrowNotDICOMDIRError
    public bool ThrowNotDICOMDIRError {get; set;}
    public:
    property bool ThrowNotDICOMDIRError {
       bool get();
       void set (    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 3.5 or higher

    See Also