LibUsbDotNet 2.2.8
GetAssociatedInterface Method (associatedInterfaceIndex, usbDevice)
Library ReferenceLibUsbDotNet.WinUsbWinUsbDeviceGetAssociatedInterface(Byte, WinUsbDevice%)
LibUsbDotNet on SourceForge
Gets an interface associated with this WinUsbDevice.
Declaration Syntax
C#Visual BasicVisual C++
public bool GetAssociatedInterface(
	byte associatedInterfaceIndex,
	out WinUsbDevice usbDevice
)
Public Function GetAssociatedInterface ( _
	associatedInterfaceIndex As Byte, _
	<OutAttribute> ByRef usbDevice As WinUsbDevice _
) As Boolean
public:
bool GetAssociatedInterface(
	unsigned char associatedInterfaceIndex, 
	[OutAttribute] WinUsbDevice^% usbDevice
)
Parameters
associatedInterfaceIndex (Byte)
The index to retrieve. (0 = next interface, 1= interface after next, etc.).
usbDevice (WinUsbDevice%)
A new WinUsbDevice class for the specified AssociatedInterfaceIndex.
Return Value
True on success.

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)