LibUsbDotNet 2.2.8
Find Method (findUsbPredicate)
Library Reference ► LibUsbDotNet.Main ► UsbRegDeviceList ► Find(Predicate<(Of <<'(UsbRegistry>)>>))
|
Find the first UsbRegistry device that matches the FindUsbPredicate.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public UsbRegistry Find( Predicate<UsbRegistry> findUsbPredicate )
Public Function Find ( _ findUsbPredicate As Predicate(Of UsbRegistry) _ ) As UsbRegistry
public: UsbRegistry^ Find( Predicate<UsbRegistry^>^ findUsbPredicate )
Parameters
- findUsbPredicate (Predicate<(Of <(<'UsbRegistry>)>)>)
- The predicate function to use.
Return Value
A valid usb registry class if the device was found or Null if the device was not found.