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
- level
Type: Microsoft.SPOT.Hardware. . :: . .PowerLevel
The power level that the system should enter.
Remarks
The behavior of the power levels is determined by the hardware vendor. This method raises the OnPowerLevelChange event.
.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.