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>)>)>.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public int IndexOf( UsbRegistry item )
Public Function IndexOf ( _ item As UsbRegistry _ ) As Integer
public: int IndexOf( UsbRegistry^ item )
Parameters
- item (UsbRegistry)
- The object to locate in the IList<(Of <(<'T>)>)>.
Return Value
The index of item if found in the list; otherwise, -1.