IUIAutomationSelectionPattern2::get_CurrentLastSelectedItem method (uiautomationclient.h)

Gets an IUIAutomationElement object representing the last item in a group of selected items.

This property is read-only.

Syntax

HRESULT get_CurrentLastSelectedItem(
  IUIAutomationElement **retVal
);

Parameters

retVal

Return value

None

Requirements

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

See also

IUIAutomationSelectionPattern2