IUIAutomationElement::CachedHelpText Property

Retrieves the element's help text from the cache.

Syntax

HRESULT IUIAutomationElement::get_CachedHelpText(BSTR *retVal);

Parameters

  • retVal
    The address of a variable that receives the value of the cached property.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This information is typically obtained from ToolTips.

See Also

UIA_HelpTextPropertyId, IUIAutomationElement, IUIAutomationElement::CurrentHelpText