DischargeRate Property

Vista Bridge Library

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

Gets the rate of discharge for the battery (in mW).

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

Syntax

C#
public int DischargeRate { get; }
Visual Basic (Declaration)
Public ReadOnly Property DischargeRate As Integer
Visual C++
public:
property int DischargeRate {
	int get ();
}

Field Value

An Int32 value.

Remarks

A negative value indicates the charge rate. Not all batteries support charge rate.

See Also