Share via


UsbConfigurationDescriptor.MaxPowerMilliamps Property

Definition

Gets the bMaxPower field of a USB configuration descriptor. The value indicates the maximum power (in milliamp units) that the device can draw from the bus, when the device is bus-powered.

public:
 property unsigned int MaxPowerMilliamps { unsigned int get(); };
uint32_t MaxPowerMilliamps();
public uint MaxPowerMilliamps { get; }
var uInt32 = usbConfigurationDescriptor.maxPowerMilliamps;
Public ReadOnly Property MaxPowerMilliamps As UInteger

Property Value

UInt32

unsigned int

uint32_t

The maximum power (in milliamp units) that the device can draw from the bus.

Applies to