IUIAutomationLegacyIAccessiblePattern::GetCachedSelection method

Retrieves the cached Microsoft Active Accessibility property that identifies the selected children of this element.

Syntax

HRESULT GetCachedSelection(
  IUIAutomationElementArray **pvarSelectedChildren
);

Parameters

pvarSelectedChildren

Type: IUIAutomationElementArray**

Receives a pointer to the cached collection of the selected child elements.

Return Value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)

See Also

IUIAutomationLegacyIAccessiblePattern