USBInterfaceCollectionFind Method |
Finds the first interface with that matches the device class
given by the interfaceClass parameter.
Namespace:
MadWizard.WinUSBNet
Assembly:
WinUSBNet (in WinUSBNet.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic USBInterface Find(
USBBaseClass interfaceClass
)
Public Function Find (
interfaceClass As USBBaseClass
) As USBInterface
public:
USBInterface^ Find(
USBBaseClass interfaceClass
)
Parameters
- interfaceClass
- Type: MadWizard.WinUSBNetUSBBaseClass
The device class the interface should match
Return Value
Type:
USBInterfaceThe first interface with the given interface class, or null
if no such interface exists.
See Also