DisplayTargetPersistence Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines constants that specify how a monitor connected to a target should be virtually persisted when the hardware no longer reports any connected monitor.
public enum class DisplayTargetPersistence
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class DisplayTargetPersistence
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum DisplayTargetPersistence
var value = Windows.Devices.Display.Core.DisplayTargetPersistence.none
Public Enum DisplayTargetPersistence
- Inheritance
-
DisplayTargetPersistence
- Attributes
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Fields
Name | Value | Description |
---|---|---|
None | 0 | Specifies no persistence. |
BootPersisted | 1 | Specifies persistence until reboot. |
TemporaryPersisted | 2 | Specifies temporary persistence. |
PathPersisted | 3 | Specifies persistence via a path. |