Share via


IUIAutomationElement::CurrentLocalizedControlType Property

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

Syntax

HRESULT IUIAutomationElement::get_CurrentLocalizedControlType(BSTR *retVal);

Parameters

  • retVal
    The address of a BSTR that receives the localized description of the control type.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UIA_LocalizedControlTypePropertyId, IUIAutomationElement, IUIAutomationElement::CachedLocalizedControlType