IUIAutomationElement::get_CurrentHelpText 方法 (uiautomationclient.h)

擷取 項目的說明文字。

這個屬性是唯讀的。

語法

HRESULT get_CurrentHelpText(
  BSTR *retVal
);

參數

retVal

傳回值

備註

此資訊通常是從工具提示取得。

謹慎 請勿從以 SysListview32 類別為基礎的控件擷取 CachedHelpText 屬性。 這樣做可能會導致系統變得不穩定,且數據遺失。 用戶端應用程式可以從控件擷取 CachedClassNameCurrentClassName 屬性,來探索控件是否以 SysListview32 為基礎。
 

規格需求

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

另請參閱

Automation 元素屬性標識碼

CachedHelpText

IUIAutomationElement

參考