ITextProvider::get_DocumentRange 方法 (uiautomationcore.h)

擷取包含檔主文字的文字範圍。

這個屬性是唯讀的。

語法

HRESULT get_DocumentRange(
  ITextRangeProvider **pRetVal
);

參數

pRetVal

傳回值

備註

可能不會包含某些輔助文字,例如頁首、註腳或注釋。

規格需求

   
最低支援的用戶端 Windows XP [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2003 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 uiautomationcore.h (包含 UIAutomation.h)

另請參閱

ITextProvider

ITextRangeProvider

參考

UI 自動化提供者概觀