Udostępnij za pośrednictwem


SystemInfo.BackupBatteryLifetime Property

Gets or sets the number of seconds of backup battery life remaining, or 0xFFFFFFFF (BATTERY_LIFE_UNKNOWN) if remaining seconds are unknown.

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

Syntax

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

value = instance.BackupBatteryLifetime

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

Property Value

Type: System.Int32
The number of seconds of backup battery life remaining, or 0xFFFFFFFF (BATTERY_LIFE_UNKNOWN) if remaining seconds are unknown.

.NET Framework Security

See Also

Reference

SystemInfo Class

SystemInfo Members

Microsoft.SmartDevice.Connectivity Namespace