LibUsbDotNet 2.2.8
IndexOf Method (item)
Library Reference ► LibUsbDotNet.Main ► UsbRegDeviceList ► IndexOf(UsbRegistry)
|
![]() |
Determines the index of a specific item in the IList<(Of <(<'T>)>)>.

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

- item (UsbRegistry)
- The object to locate in the IList<(Of <(<'T>)>)>.

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