Share via


IGridItemProvider::ContainingGrid Property

Gets a UI Automation provider that implements IGridProvider and represents the container of the cell or item.

Syntax

HRESULT IGridItemProvider::get_ContainingGrid(IRawElementProviderSimple **pRetVal);

Parameters

  • pRetVal
    [retval][out] The address of a variable that receives a pointer to the IRawElementProviderSimple interface of the element that implements IGridProvider and represents the container of the cell or item.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UI Automation Providers Overview