DicomObjects.NET.V8
DicomObjects Namespace / DicomAssociation Class / PcidFor Method
The SOP class to test for



PcidFor Method
Indicates the presentaiton context ID which would be used to send an instance of the given SOP class
Syntax
public byte PcidFor( 
   string SOPClass
)
public:
byte PcidFor( 
   String^ SOPClass
) 
'Declaration
 
Public Function PcidFor( _
   ByVal SOPClass As String _
) As Byte
 
'Usage
 
Dim instance As DicomAssociation
Dim SOPClass As String
Dim value As Byte
 
value = instance.PcidFor(SOPClass)

Parameters

SOPClass
The SOP class to test for

Return Value

Either the presentation context ID which would be used to send an instance of the stated SOP class, or 0 if so suitable, agreed presentation context exists.

Remarks

This routines uses the properties AgreedContexts, MetaSOPClass, PreferredPCID, PreferredTS and PreferredTSList

Requirements

Target Platforms: .NET CLR 3.5 or higher

See Also