DicomObjects.NetStandard 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 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: 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

    See Also