IUIAutomationSelectionItemPattern::CachedSelectionContainer Property
Gets the cached UI Automation element that supports IUIAutomationSelectionPattern and acts as the container for the calling object.
Syntax
HRESULT IUIAutomationSelectionItemPattern::get_CachedSelectionContainer(IUIAutomationElement **retVal);
Parameters
- retVal
The address of a variable that receives a cached pointer to the IUIAutomationElement interface of the container object. The default value is NULL.
Return Value
Returns S_OK if successful, or an error value otherwise.