ISelectionProvider2::get_CurrentSelectedItem method

Gets the currently selected item.

This property is read-only.

Syntax

HRESULT get_CurrentSelectedItem(
  IRawElementProviderSimple **retVal
);

Parameters

retVal

Return Value

None

Requirements

   
Minimum supported client Windows 10, version 1709 [desktop apps | UWP apps]
Minimum supported server Windows Server 2016 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See Also

ISelectionProvider2