Share via


ITableProvider::GetColumnHeaders Method

Gets a collection of UI Automation providers that represents all the column headers in a table.

Syntax

HRESULT GetColumnHeaders(      
    SAFEARRAY **pRetVal
);

Parameters

  • pRetVal
    [out, retval] The address of a variable that receives a pointer to a SAFEARRAY that contains an array of pointers to the IRawElementProviderSimple interfaces of the column headers. This parameter is passed uninitialized.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UI Automation Providers Overview, Working with Safe Arrays