Accusoft.TwainProSdk Namespace > TwainDevice Class > GetCapability Method : GetCapability(AdvancedCapability) Method |
'Declaration Public Overloads Function GetCapability( _ ByVal capability As AdvancedCapability _ ) As CapabilityContainer
'Usage Dim instance As TwainDevice Dim capability As AdvancedCapability Dim value As CapabilityContainer value = instance.GetCapability(capability)
public CapabilityContainer GetCapability( AdvancedCapability capability )
public: CapabilityContainer* GetCapability( AdvancedCapability capability )
public: CapabilityContainer^ GetCapability( AdvancedCapability capability )
This method will return a CapabilityContainerOneValue, CapabilityContainerEnum, CapabilityContainerRange, or CapabilityContainerArray object of type CapabilityContainer which can be casted to the appropriate child object to access the capability information.