Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a new instance of the Configuration..::..UsbInterface class.
Namespace: Microsoft.SPOT.Hardware.UsbClient
Assembly: Microsoft.SPOT.Hardware.Usb (in Microsoft.SPOT.Hardware.Usb.dll)
Syntax
'Declaration
Public Sub New ( _
InterfaceNumber As Byte, _
Endpoints As Configuration.Endpoint() _
)
public UsbInterface(
byte InterfaceNumber,
Configuration.Endpoint[] Endpoints
)
public:
UsbInterface(
unsigned char InterfaceNumber,
array<Configuration::Endpoint^>^ Endpoints
)
new :
InterfaceNumber:byte *
Endpoints:Configuration.Endpoint[] -> UsbInterface
public function Configuration..::..UsbInterface(
InterfaceNumber : byte,
Endpoints : Configuration..::..Endpoint[]
)
Parameters
- InterfaceNumber
Type: System. . :: . .Byte
Holds the interface number.
- Endpoints
Type: array<Microsoft.SPOT.Hardware.UsbClient. . :: . .Configuration. . :: . .Endpoint> [] () [] []
Contains a group of endpoints associated with the interface.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.