Share via


IUIAutomationElement::CurrentHelpText Property

Retrieves the help text for the element.

Syntax

HRESULT IUIAutomationElement::get_CurrentHelpText(BSTR *retVal);

Parameters

  • retVal
    The address of a BSTR that receives the help text.

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::CachedHelpText