IUIAutomationElement2::get_CurrentOptimizeForVisualContent method

Indicates whether the provider exposes only elements that are visible.

This property is read-only.

Syntax

HRESULT get_CurrentOptimizeForVisualContent(
  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

   
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

CachedOptimizeForVisualContent

IUIAutomationElement2

Reference