Share via


IUIAutomationElement::CachedIsPassword Property

Retrieves a cached value that indicates whether the element contains a disguised password.

Syntax

HRESULT IUIAutomationElement::get_CachedIsPassword(BOOL *retVal);

Parameters

  • retVal
    The address of a variable that receives the value of the cached property: TRUE if the element contains a password, otherwise FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This property enables applications such as screen-readers to determine whether the text content of a control should be read aloud.

See Also

UIA_IsPasswordPropertyId, IUIAutomationElement, IUIAutomationElement::CurrentIsPassword