IUIAutomationInvokePattern 介面 (uiautomationclient.h)

公開方法,可讓用戶端應用程式叫用控件的動作, (通常是按鈕) 。

繼承

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

方法

IUIAutomationInvokePattern 介面具有這些方法。

 
IUIAutomationInvokePattern::Invoke

叫用控件的動作,例如按下按鈕。

備註

如果控件起始或執行單一明確動作,且在啟用時不會維護狀態,則控件應該支援此介面。

規格需求

需求
最低支援的用戶端 Windows 7、Windows Vista sp2 和 Platform Update for Windows Vista、Windows XP with SP3 和 Platform Update for 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)

另請參閱

用戶端的控制項模式介面