IUIAutomationSelectionItemPattern::CurrentSelectionContainer Property
Gets the UI Automation element that supports IUIAutomationSelectionPattern and acts as the container for the calling object.
Syntax
HRESULT IUIAutomationSelectionItemPattern::get_CurrentSelectionContainer(IUIAutomationElement **retVal);
Parameters
- retVal
The address of a variable that receives a 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.