OnCharger Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a value that indicates whether the hardware is connected to a battery charger.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)
Syntax
'Declaration
Public Shared Function OnCharger As Boolean
public static bool OnCharger()
public:
static bool OnCharger()
static member OnCharger : unit -> bool
public static function OnCharger() : boolean
Return Value
Type: System. . :: . .Boolean
true if the hardware is connected to a battery charger; otherwise, false.
.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.