IUIAutomationLegacyIAccessiblePattern::GetCachedSelection method

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

Syntax


HRESULT GetCachedSelection(
  [out, retval]  IUIAutomationElementArray **pvarSelectedChildren
);

Parameters

pvarSelectedChildren [out, retval]

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]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

See also

IUIAutomationLegacyIAccessiblePattern

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.