







![]() ![]() |
Vista Bridge Library for Managed code development |
PowerManager..::.PowerPersonality Property |
PowerManager Class See Also Send Feedback |
[This is preliminary documentation and is subject to change.]
Gets a value that indicates the current power scheme.
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 PowerPersonality PowerPersonality { get; } |
Visual Basic (Declaration) |
---|
Public Shared ReadOnly Property PowerPersonality As PowerPersonality |
Visual C++ |
---|
public: static property PowerPersonality PowerPersonality { PowerPersonality get (); } |
Field Value
A PowerPersonality value.
Exceptions
Exception | Condition |
---|---|
Requires Vista/Windows Server 2008. |