共用方式為


IGridProvider::get_RowCount 方法 (uiautomationcore.h)

指定方格中的數據列總數。

這個屬性是唯讀的。

語法

HRESULT get_RowCount(
  int *pRetVal
);

參數

pRetVal

傳回值

備註

根據提供者實作而定,隱藏的數據列和數據行可能會載入邏輯樹狀結構中,因此會反映在 IGridProvider::RowCountIGridProvider::ColumnCount 屬性中。 如果尚未載入隱藏的數據列和數據行,則不會計算。

規格需求

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

另請參閱

IGridProvider

UI 自動化提供者概觀