DicomObjects.NET.V8
DicomObjects Namespace / DicomContext Class / ContextID Property



In This Topic
    ContextID Property
    In This Topic
    Uniquely identifies a presentation context for a given association
    Syntax
    'Declaration
     
    Public ReadOnly Property ContextID As Byte
    'Usage
     
    Dim instance As DicomContext
    Dim value As Byte
     
    value = instance.ContextID
    public byte ContextID {get;}
    public:
    property byte ContextID {
       byte get();
    }
    Remarks

    The value of this property is normally a small odd integer between 1 and 255, though some faulty public domain software incorrectly uses even values which may be seen, and need to be tolerated.

    The value is set when the DicomContext item is created, either implicitly, or by the DicomContextCollection's Add method, and cannot be changed.

    This value may be used to set the DicomAssociation's PreferredPCID property and is also used to index into the DicomContextCollection.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also