IUIAutomationElement4::get_CachedPositionInSet 方法 (uiautomationclient.h)

傳回元素集合中序數位置的快取 1 整數。

這個屬性是唯讀的。

語法

HRESULT get_CachedPositionInSet(
  int *retVal
);

參數

retVal

傳回值

規格需求

需求
最低支援的用戶端 Windows 10 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2016 [僅限傳統型應用程式]
目標平台 Windows
標頭 uiautomationclient.h (包含 UIAutomation.h)
Dll UIAutomationCore.dll

另請參閱

IUIAutomationElement4