IUIAutomationTogglePattern 介面 (uiautomationclient.h)

提供控制項的存取權,該控制件可以迴圈執行一組狀態,並在設定之後維護狀態。

繼承

IUIAutomationTogglePattern 介面繼承自 IUnknown 介面。 IUIAutomationTogglePattern 也有下列類型的成員:

方法

IUIAutomationTogglePattern 介面具有這些方法。

 
IUIAutomationTogglePattern::get_CachedToggleState

擷取 控件的快取狀態。
IUIAutomationTogglePattern::get_CurrentToggleState

擷取 控件的狀態。
IUIAutomationTogglePattern::Toggle

迴圈查看控制件的切換狀態。

規格需求

需求
最低支援的用戶端 Windows 7、Windows Vista SP2 和 Platform Update for Windows Vista、Windows XP 含 SP3 和適用於 Windows Vista 的平臺更新 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008、Windows Server 2003 SP2 和 Platform Update for Windows Server 2008 [僅限桌面應用程式]
目標平台 Windows
標頭 uiautomationclient.h (包含 UIAutomation.h)

另請參閱

用戶端的控制項模式介面