Share via


IUIAutomationGridPattern::get_CachedColumnCount 方法 (uiautomationclient.h)

擷取方格中快取的數據行數目。

這個屬性是唯讀的。

語法

HRESULT get_CachedColumnCount(
  int *retVal
);

參數

retVal

傳回值

備註

根據提供者實作而定,隱藏的數據列和數據行可能會在 Microsoft 使用者介面自動化 樹狀結構中載入,因此會反映在數據列計數和數據行計數屬性中。 如果尚未載入隱藏的數據列和數據行,則不會計算。

規格需求

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

另請參閱

IUIAutomationGridPattern