IUIAutomationElement::CurrentIsPassword Property
Retrieves a value that indicates whether the element contains a disguised password.
Syntax
HRESULT IUIAutomationElement::get_CurrentIsPassword(BOOL *retVal);
Parameters
- retVal
The address of a variable that receives 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::CachedIsPassword