Dela via


SystemInfo.BatteryFullLifetime Property

Gets or sets the number of seconds of battery life when at full charge, or 0xFFFFFFFF (BATTERY_LIFE_UNKNOWN) if full lifetime is unknown.

Namespace:  Microsoft.SmartDevice.Connectivity
Assembly:  Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)

Syntax

'Declaration
Public Property BatteryFullLifetime As Integer
'Usage
Dim instance As SystemInfo 
Dim value As Integer 

value = instance.BatteryFullLifetime

instance.BatteryFullLifetime = value
public int BatteryFullLifetime { get; set; }
public:
property int BatteryFullLifetime {
    int get ();
    void set (int value);
}
public function get BatteryFullLifetime () : int 
public function set BatteryFullLifetime (value : int)

Property Value

Type: System.Int32
The number of seconds of battery life when at full charge, or 0xFFFFFFFF (BATTERY_LIFE_UNKNOWN) if full lifetime is unknown.

.NET Framework Security

See Also

Reference

SystemInfo Class

SystemInfo Members

Microsoft.SmartDevice.Connectivity Namespace