Determines the index of a specific UsbEndpointBase in the UsbEndpointList.

C# | Visual Basic | Visual C++ |
public int IndexOf( UsbEndpointBase item )
Public Function IndexOf ( _ item As UsbEndpointBase _ ) As Integer
public: int IndexOf( UsbEndpointBase^ item )

- item (UsbEndpointBase)
- The UsbEndpointBase to locate in the UsbEndpointList.

The index of item if found in the list; otherwise, -1.