Share via


IUIAutomationElement::CachedAriaRole Property

Retrieves the cached Accessible Rich Internet Applications (ARIA) role of the element.

Syntax

HRESULT IUIAutomationElement::get_CachedAriaRole(BSTR *retVal);

Parameters

  • retVal
    The address of a BSTR that receives the cached role.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UIA_AriaRolePropertyId, IUIAutomationElement::CurrentAriaRole, W3C ARIA States and Properties Mapped to Microsoft Active Accessibility and UI Automation, WAI-ARIA Overview