IUIAutomationSelectionPattern2::get_CachedFirstSelectedItem method

Gets a cached IUIAutomationElement object representing the first item in a group of selected items.

This property is read-only.

Syntax

HRESULT get_CachedFirstSelectedItem(
  IUIAutomationElement **retVal
);

Parameters

retVal

Return Value

None

Requirements

   
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