Find the last a UsbRegistry device that matches the FindUsbPredicate.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public UsbRegistry FindLast( Predicate<UsbRegistry> findUsbPredicate )
Public Function FindLast ( _ findUsbPredicate As Predicate(Of UsbRegistry) _ ) As UsbRegistry
public: UsbRegistry^ FindLast( 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.