共用方式為


IXpsOMPath::SetAccessibilityLongDescription 方法 (xpsobjectmodel.h)

設定物件內容的長 (詳細) 文字描述。 協助工具用戶端會使用此描述來描述物件。

語法

HRESULT SetAccessibilityLongDescription(
  [in] LPCWSTR longDescription
);

參數

[in] longDescription

物件內容的詳細文字描述。

傳回值

如果方法成功,則會傳回S_OK;否則,它會傳回 HRESULT 錯誤碼。

備註

在檔標記中,longDescription中設定的值將是Path元素的AutomationProperties.HelpText屬性。

規格需求

   
最低支援的用戶端 適用于 Windows Vista 的 Windows 7、Windows Vista SP2 和平臺更新 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 xpsobjectmodel.h

另請參閱

IXpsOMPath

XML Paper Specification