







![]() ![]() |
Vista Bridge Library for Managed code development |
PowerManager..::.PowerSource Property |
PowerManager Class See Also Send Feedback |
[This is preliminary documentation and is subject to change.]
Gets the current power source.
Namespace:
Microsoft.SDK.Samples.VistaBridge.Library.PowerManagement
Assembly:
VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public static PowerSource PowerSource { get; } |
Visual Basic (Declaration) |
---|
Public Shared ReadOnly Property PowerSource As PowerSource |
Visual C++ |
---|
public: static property PowerSource PowerSource { PowerSource get (); } |
Field Value
A PowerSource value.
Exceptions
Exception | Condition |
---|---|
Requires Vista/Windows Server 2008. |