IUIAutomationGridPattern::get_CachedRowCount 方法 (uiautomationclient.h)

检索网格中缓存的行数。

此属性为只读。

语法

HRESULT get_CachedRowCount(
  int *retVal
);

参数

retVal

返回值

备注

隐藏的行和列(具体取决于提供程序实现)可能会加载到 Microsoft UI 自动化树中,因此将反映在行计数和列计数属性中。 如果尚未加载隐藏的行和列,则不会对它们进行计数。

要求

要求
最低受支持的客户端 Windows 7、带 SP2 的 Windows Vista 和适用于 Windows Vista 的平台更新、带 SP3 的 Windows XP 和适用于 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