Share via


CurrentPowerLevel Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the current power level of the system.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

Syntax

'Declaration
Public Shared ReadOnly Property CurrentPowerLevel As PowerLevel
public static PowerLevel CurrentPowerLevel { get; }
public:
static property PowerLevel CurrentPowerLevel {
    PowerLevel get ();
}
static member CurrentPowerLevel : PowerLevel with get
static function get CurrentPowerLevel () : PowerLevel

Property Value

Type: Microsoft.SPOT.Hardware. . :: . .PowerLevel
The current power level of the system.

Remarks

The behavior of the power level is determined by the hardware vendor.

.NET Framework Security

See Also

Reference

PowerState Class

Microsoft.SPOT.Hardware Namespace