'Declaration
Public ReadOnly Property ContextID As Byte
'Usage
Dim instance As DicomContext Dim value As Byte value = instance.ContextID
public byte ContextID {get;}
'Declaration
Public ReadOnly Property ContextID As Byte
'Usage
Dim instance As DicomContext Dim value As Byte value = instance.ContextID
public byte ContextID {get;}
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.
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