ILegacyIAccessibleProvider::get_Name 方法 (uiautomationcore.h)

指定這個項目的名稱。

這個屬性是唯讀的。

語法

HRESULT get_Name(
  BSTR *pszName
);

參數

pszName

傳回值

規格需求

需求
最低支援的用戶端 Windows 7、Windows Vista SP2 和 Windows Vista 平臺更新、Windows XP SP3 和 Windows Vista 平臺更新 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008、Windows Server 2003 SP2 和 Platform Update for Windows Server 2008 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 uiautomationcore.h (包含 UIAutomation.h)
Dll UiAutomationCore.dll

另請參閱

ILegacyIAccessibleProvider