IUIAutomationElement4::get_CurrentLevel method (uiautomationclient.h)

Returns the current 1-based integer for the level (hierarchy) for the element.

This property is read-only.

Syntax

HRESULT get_CurrentLevel(
  int *retVal
);

Parameters

retVal

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)
DLL UIAutomationCore.dll

See also

IUIAutomationElement4