DicomObjects.NET.8.48 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 System.String _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As DicomContextCollection
    Dim SOPClass As System.String
    Dim value As System.Boolean
     
    value = instance.CanUse(SOPClass)
    public System.bool CanUse( 
       System.string SOPClass
    )
    public function CanUse( 
        SOPClass: System.String
    ): System.Boolean; 
    public function CanUse( 
       SOPClass : System.String
    ) : System.boolean;
    public: System.bool CanUse( 
       System.string* SOPClass
    ) 
    public:
    System.bool CanUse( 
       System.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: .NET CLR 4.8 or higher

    See Also