LibUsbDotNet 2.2.8
IndexOf Method (item)
Library Reference ► LibUsbDotNet.Main ► UsbEndpointList ► IndexOf(UsbEndpointBase)
|
Determines the index of a specific UsbEndpointBase in the UsbEndpointList.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public int IndexOf( UsbEndpointBase item )
Public Function IndexOf ( _ item As UsbEndpointBase _ ) As Integer
public: int IndexOf( UsbEndpointBase^ item )
Parameters
- item (UsbEndpointBase)
- The UsbEndpointBase to locate in the UsbEndpointList.
Return Value
The index of item if found in the list; otherwise, -1.