DisplayManager.TryReadCurrentStateForAllTargets 方法

定义

创建使用所有目标的整个系统显示状态填充的只读 DisplayState 对象。

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

返回

DisplayManagerResultWithState 值。

适用于