IsBatteryShortTerm Property

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

Gets a value that indicates whether the battery is a short term battery.

Namespace:  Microsoft.SDK.Samples.VistaBridge.Library.PowerManagement
Assembly:  VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public static bool IsBatteryShortTerm { get; }
Visual Basic (Declaration)
Public Shared ReadOnly Property IsBatteryShortTerm As Boolean
Visual C++
public:
static property bool IsBatteryShortTerm {
	bool get ();
}

Field Value

A Boolean value.

Exceptions

ExceptionCondition
System..::.PlatformNotSupportedExceptionRequires XP/Windows Server 2003 or higher.

See Also