Click or drag to resize

USBInterfaceCollectionItem Property

Get interface by interface number

Namespace:  MadWizard.WinUSBNet
Assembly:  WinUSBNet (in WinUSBNet.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public USBInterface this[
	int interfaceNumber
] { get; }

Parameters

interfaceNumber
Type: SystemInt32
Number of the interface to return. Note: this is the number from the interface descriptor, which is not necessarily the same as the interface index.

Return Value

Type: USBInterface
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionThrown when the given interface number does not exist in the collection.
See Also