DicomObjects.NET8 Documentation
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also