IUIAutomationElement2::get_CachedOptimizeForVisualContent method (uiautomationclient.h)

Retrieves a cached value that indicates whether the provider exposes only elements that are visible.

This property is read-only.

Syntax

HRESULT get_CachedOptimizeForVisualContent(
  BOOL *retVal
);

Parameters

retVal

Return value

None

Remarks

A value of TRUE indicates that the provider optimizes for visual content, while FALSE indicates that the provider optimizes for virtual content. For more information, see Working with Virtualized Items.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)

See also

Automation Element Property IDs

CurrentOptimizeForVisualContent

IUIAutomationElement2

Reference