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..::..ConfigurationDescriptor class.
Namespace: Microsoft.SPOT.Hardware.UsbClient
Assembly: Microsoft.SPOT.Hardware.Usb (in Microsoft.SPOT.Hardware.Usb.dll)
Syntax
'Declaration
Public Sub New ( _
MaxPower_mA As UShort, _
Interfaces As Configuration.UsbInterface() _
)
public ConfigurationDescriptor(
ushort MaxPower_mA,
Configuration.UsbInterface[] Interfaces
)
public:
ConfigurationDescriptor(
unsigned short MaxPower_mA,
array<Configuration::UsbInterface^>^ Interfaces
)
new :
MaxPower_mA:uint16 *
Interfaces:Configuration.UsbInterface[] -> ConfigurationDescriptor
public function Configuration..::..ConfigurationDescriptor(
MaxPower_mA : ushort,
Interfaces : Configuration..::..UsbInterface[]
)
Parameters
- MaxPower_mA
Type: System. . :: . .UInt16
Specifies the maximum power consumption in 2mA units.
- Interfaces
Type: array<Microsoft.SPOT.Hardware.UsbClient. . :: . .Configuration. . :: . .UsbInterface> [] () [] []
Contains one or more interface descriptors.
.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.