PowerStatus.BatteryChargeStatus 属性

定义

获取当前的电池电量状态。

public:
 property System::Windows::Forms::BatteryChargeStatus BatteryChargeStatus { System::Windows::Forms::BatteryChargeStatus get(); };
public System.Windows.Forms.BatteryChargeStatus BatteryChargeStatus { get; }
member this.BatteryChargeStatus : System.Windows.Forms.BatteryChargeStatus
Public ReadOnly Property BatteryChargeStatus As BatteryChargeStatus

属性值

BatteryChargeStatus

BatteryChargeStatus 值之一,指示当前的电池电量级别或充电状态。

注解

此属性指示当前电池充电级别或电池充电状态。

适用于

另请参阅