DicomObjects.NET.V8
DicomObjects Namespace / WriteBehaviours Class / ImplicitSequenceLength Property



In This Topic
    ImplicitSequenceLength Property
    In This Topic
    Controls whether sequences are written out using Implicit or Explicit lengths for the sequence
    Syntax
    'Declaration
     
    Public Property ImplicitSequenceLength As Boolean
    'Usage
     
    Dim instance As WriteBehaviours
    Dim value As Boolean
     
    instance.ImplicitSequenceLength = value
     
    value = instance.ImplicitSequenceLength
    public bool ImplicitSequenceLength {get; set;}
    public:
    property bool ImplicitSequenceLength {
       bool get();
       void set (    bool value);
    }
    Remarks

    For sequences, DICOM allows either explicit or implicit length to be used for the sequence itself, and when reading/receiving, both are accepted. This is separate from the choice made for individual sequence items, which are controlled by the ImplicitSequenceItemLength property.

    The default value of this property is derived from the the bit 0 of the ImplicitSequence value the internal registry, which in turn has a default value of 0, causing this property to be false, resulting in explicit sequence lengths being used.

    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also