DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomContextCollection Class / CanUse Method
The SOP Class (abstract syntax) to be checked



In This Topic
    CanUse Method
    In This Topic
    Checks whether at least one presentation context has been negotiated for a given SOP class
    Syntax
    'Declaration
     
    
    Public Function CanUse( _
       ByVal SOPClass As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As DicomContextCollection
    Dim SOPClass As String
    Dim value As Boolean
     
    value = instance.CanUse(SOPClass)
    public bool CanUse( 
       string SOPClass
    )
    public:
    bool CanUse( 
       String^ SOPClass
    ) 

    Parameters

    SOPClass
    The SOP Class (abstract syntax) to be checked

    Return Value

    True if the SOP class can be used
    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