VintaSoft Twain .NET SDK v10.2
IndexOf(UInt16) Method




Vintasoft.WpfTwain Namespace > DeviceCapabilityCollection Class > IndexOf Method : IndexOf(UInt16) Method
ID of capability.
Finds the index of capability in this collection by ID of capability.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal id As UShort _
) As Integer
'Usage
 
Dim instance As DeviceCapabilityCollection
Dim id As UShort
Dim value As Integer
 
value = instance.IndexOf(id)
public int IndexOf( 
   ushort id
)
public: int IndexOf( 
   ushort id
) 
public:
int IndexOf( 
   ushort id
) 

Parameters

id
ID of capability.

Return Value

Index of capability in this collection if capability is found; otherwise, -1.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

DeviceCapabilityCollection Class
DeviceCapabilityCollection Members
Overload List