IUIAutomationElement::CachedLocalizedControlType Property

Retrieves the cached localized description of the UI element's control type.

Syntax

HRESULT IUIAutomationElement::get_CachedLocalizedControlType(BSTR *retVal);

Parameters

  • retVal
    The address of a variable that receives the cached property; for example, "button".

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UIA_LocalizedControlTypePropertyId, IUIAutomationElement, IUIAutomationElement::CurrentLocalizedControlType