共用方式為


DisplayManager.TryReadCurrentStateForAllTargets 方法

定義

建立以所有目標之整個系統顯示狀態填入的唯讀 DisplayState 物件。

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

傳回

DisplayManagerResultWithState值。

適用於