IUIAutomationLegacyIAccessiblePattern::CachedName Property

Retrieves the cached Microsoft Active Accessibility name property of the element.

Syntax

HRESULT IUIAutomationLegacyIAccessiblePattern::get_CachedName(BSTR *pszName);

Parameters

  • pszName
    The address of a variable that receives a pointer to the cached name of the element.

Return Value

Returns S_OK if successful, or an error value otherwise.