Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ACStatus Property
Collapse the table of content
Expand the table of content

Visual Basic: SysInfo Control

Visual Studio 6.0

ACStatus Property

See Also   Example   Applies To

Returns a value that indicates whether or not the system is using AC power.

Syntax

object.ACStatus

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Settings

The ACStatus property settings are:

Setting Description
0 The system is not using AC power.
1 The system is using AC power.
255 AC power status is unknown.

Show:
© 2015 Microsoft