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






    IgnorePrivateSequences Property
    If set, private sequence items are skipped. Default value is false
    Syntax
    'Declaration
     
    
    Public Property IgnorePrivateSequences As System.Boolean
     
    'Usage
     
    
    Dim instance As ReadBehaviours
    Dim value As System.Boolean
     
    instance.IgnorePrivateSequences = value
     
    value = instance.IgnorePrivateSequences
    Remarks

    The default value of this property is derived from the IgnorePrivateSequences value of the internal registry, which in turn has a default value of 0, causing this property to be false.

    Badly formed data in private sequences is unfortunately very common, and setting this property can allow some such data (if it has an explicit length) to be ignored, allowing the remainder of a dataset to be read.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also