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



In This Topic
    PcidFor Method
    In This Topic
    Indicates the presentaiton context ID which would be used to send an instance of the given SOP class
    Syntax
    '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)
    public byte PcidFor( 
       string SOPClass
    )
    public:
    byte PcidFor( 
       String^ 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