PowerStatus.PowerLineStatus Property

Definition

Gets the current system power status.

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

Property Value

One of the PowerLineStatus values indicating the current system power status.

Remarks

This property indicates whether the system power is online, or that the system power status is unknown.

Applies to