ISelectionProvider2::get_ItemCount method (uiautomationcore.h)

Gets the number of selected items.

This property is read-only.

Syntax

HRESULT get_ItemCount(
  int *retVal
);

Parameters

retVal

Return value

None

Requirements

Requirement Value
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