Share via


ChangePowerLevel Method

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

Enables the caller to adjust the current power level of the device.

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

Syntax

'Declaration
Public Shared Sub ChangePowerLevel ( _
    level As PowerLevel _
)
public static void ChangePowerLevel(
    PowerLevel level
)
public:
static void ChangePowerLevel(
    PowerLevel level
)
static member ChangePowerLevel : 
        level:PowerLevel -> unit 
public static function ChangePowerLevel(
    level : PowerLevel
)

Parameters

Remarks

The behavior of the power levels is determined by the hardware vendor. This method raises the OnPowerLevelChange event.

.NET Framework Security

See Also

Reference

PowerState Class

Microsoft.SPOT.Hardware Namespace