Share via


ISelectionItemProvider::SelectionContainer Property

Gets the UI Automation provider that implements ISelectionProvider and acts as the container for the calling object.

Syntax

HRESULT ISelectionItemProvider::get_SelectionContainer(IRawElementProviderSimple **pRetVal);

Parameters

  • pRetVal
    The address of a variable that receives a pointer to the IRawElementProviderSimple interface of the container that implements ISelectionProvider. This parameter is passed uninitialized.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UI Automation Providers Overview