IUIAutomationElement::CachedControllerFor Property

Retrieves a cached array of UI Automation elements for which this element serves as the controller.

Syntax

HRESULT IUIAutomationElement::get_CachedControllerFor(IUIAutomationElementArray **retVal);

Parameters

  • retVal
    The address of a variable that receives a pointer to the IUIAutomationElementArray interface representing the array of elements for which this element is the controller.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UIA_ControllerForPropertyId, IUIAutomationElement::CurrentControllerFor