Find the first UsbRegistry device that matches the FindUsbPredicate.

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 )

- findUsbPredicate (Predicate<(Of <(<'UsbRegistry>)>)>)
- The predicate function to use.

A valid usb registry class if the device was found or Null if the device was not found.