DicomObjects.NET.8.48 Documentation
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 System.String _
    ) As System.Byte
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim SOPClass As System.String
    Dim value As System.Byte
     
    value = instance.PcidFor(SOPClass)
    public System.byte PcidFor( 
       System.string SOPClass
    )
    public function PcidFor( 
        SOPClass: System.String
    ): System.Byte; 
    public function PcidFor( 
       SOPClass : System.String
    ) : System.byte;
    public: System.byte PcidFor( 
       System.string* SOPClass
    ) 
    public:
    System.byte PcidFor( 
       System.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 4.8 or higher

    See Also