PowerManager.PowerSupplyStatus 屬性

定義

取得裝置目前的電源供應器狀態。

public:
 static property PowerSupplyStatus PowerSupplyStatus { PowerSupplyStatus get(); };
static PowerSupplyStatus PowerSupplyStatus();
public static PowerSupplyStatus PowerSupplyStatus { get; }
var powerSupplyStatus = PowerManager.powerSupplyStatus;
Public Shared ReadOnly Property PowerSupplyStatus As PowerSupplyStatus

屬性值

裝置目前的電源供應器狀態。

適用於

另請參閱