共用方式為


IUIAutomationProxyFactoryEntry::p ut_NeedsAdviseEvents 方法 (uiautomationclient.h)

設定或擷取值,指定應用程式註冊事件時,是否必須通知 Proxy。

這是可讀寫的屬性。

語法

HRESULT put_NeedsAdviseEvents(
  BOOL adviseEvents
);

參數

adviseEvents

傳回值

規格需求

需求
最低支援的用戶端 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)