Share via


IUIAutomationGridPattern::get_CurrentRowCount 方法 (uiautomationclient.h)

擷取方格中的資料列數目。

這個屬性是唯讀的。

語法

HRESULT get_CurrentRowCount(
  int *retVal
);

參數

retVal

傳回值

備註

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

需求

   
最低支援的用戶端 Windows 7、Windows Vista SP2 和 Platform Update for Windows Vista、Windows XP 含 SP3 和適用于 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