IUIAutomationLegacyIAccessiblePattern::CachedDescription Property

Retrieves the cached Microsoft UI Automation description of the element.

Syntax

HRESULT IUIAutomationLegacyIAccessiblePattern::get_CachedDescription(BSTR *pszDescription);

Parameters

  • pszDescription
    The address of a variable that receives either a pointer to a cached localized description of the element, or NULL if no description is available.

Return Value

Returns S_OK if successful, or an error value otherwise.