IUIAutomationElement4::get_CurrentPositionInSet 方法 (uiautomationclient.h)

返回元素集中的序号位置的当前从 1 开始的整数。

此属性为只读。

语法

HRESULT get_CurrentPositionInSet(
  int *retVal
);

参数

retVal

返回值

要求

要求
最低受支持的客户端 Windows 10 [仅限桌面应用]
最低受支持的服务器 Windows Server 2016 [仅限桌面应用]
目标平台 Windows
标头 uiautomationclient.h (包括 UIAutomation.h)
DLL UIAutomationCore.dll

另请参阅

IUIAutomationElement4