Udostępnij za pośrednictwem


Battery.ChargeLevel Właściwość

Definicja

Pobiera bieżący poziom opłat urządzenia z zakresu od 0.0 do 1.0.

public:
 static property double ChargeLevel { double get(); };
public static double ChargeLevel { get; }
static member ChargeLevel : double
Public Shared ReadOnly Property ChargeLevel As Double

Wartość właściwości

Poziom opłaty. Zwraca wartość -1, jeśli nie istnieje bateria.

Uwagi

Zwraca wartość -1, jeśli nie istnieje bateria.

Dotyczy