VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain Namespace / DeviceCapabilityCollection Class / IndexOf Method / IndexOf(DeviceCapabilityId) Method
An identifier of capability.

In This Topic
    IndexOf(DeviceCapabilityId) Method
    In This Topic
    Finds the index of capability in this collection by ID of capability.
    Public Overloads Function IndexOf( _
       ByVal id As DeviceCapabilityId _
    ) As Integer
    Dim instance As DeviceCapabilityCollection
    Dim id As DeviceCapabilityId
    Dim value As Integer
    value = instance.IndexOf(id)
    public int IndexOf( 
       DeviceCapabilityId id
    public: int IndexOf( 
       DeviceCapabilityId id
    int IndexOf( 
       DeviceCapabilityId id


    An identifier of capability.

    Return Value

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

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

    See Also