dcmNET Class Library

A_Associate.GetPresentationContextID Method 

Retrieve the first presentation context ID associate with this SOP Class or Meta Class.

[Visual Basic]
Public Function GetPresentationContextID( _
   ByVal SOPClassUID As String _
) As Integer
[C#]
public int GetPresentationContextID(
   string SOPClassUID
);

Parameters

SOPClassUID
The SOP Class UID or Meta SOP Class.

Return Value

The number that present the ContextID if the UID argument exists in the association -1 otherwise.

See Also

A_Associate Class | dcmNET Namespace