Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PowerModeChangedEventArgs Constructor (PowerModes)

 

Initializes a new instance of the PowerModeChangedEventArgs class using the specified power mode event type.

Namespace:   Microsoft.Win32
Assembly:  System (in System.dll)

public:
PowerModeChangedEventArgs(
	PowerModes mode
)

Parameters

mode
Type: Microsoft.Win32::PowerModes

One of the PowerModes values that represents the type of power mode event.

This constructor can be used to create a PowerModeChangedEventArgs that indicates a type of power mode event.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft