IUIAutomationTablePattern::GetCachedColumnHeaders Method

Retrieves a cached collection of UI Automation elements representing all the column headers in a table.


HRESULT GetCachedColumnHeaders(      
    IUIAutomationElementArray **retVal


  • retVal
    [out, retval] The address of a variable that receives a pointer to an IUIAutomationElementArray interface for the collection of cached column headers. The default is an empty array.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also