IUIAutomationElement::CachedIsRequiredForForm Property

Retrieves a cached value that indicates whether the element is required to be filled out on a form.

Syntax

HRESULT IUIAutomationElement::get_CachedIsRequiredForForm(BOOL *retVal);

Parameters

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

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UIA_IsRequiredForFormPropertyId, IUIAutomationElement, IUIAutomationElement::CurrentIsRequiredForForm