Share via


DisplayManager.TryReadCurrentStateForAllTargets Method

Definition

Creates a read-only DisplayState object populated with the entire system display state for all targets.

public:
 virtual DisplayManagerResultWithState ^ TryReadCurrentStateForAllTargets() = TryReadCurrentStateForAllTargets;
DisplayManagerResultWithState TryReadCurrentStateForAllTargets();
public DisplayManagerResultWithState TryReadCurrentStateForAllTargets();
function tryReadCurrentStateForAllTargets()
Public Function TryReadCurrentStateForAllTargets () As DisplayManagerResultWithState

Returns

A DisplayManagerResultWithState value.

Applies to