IUIAutomationCacheRequest::put_TreeScope method

Specifies the scope of caching.

This property is read/write.

Syntax

HRESULT put_TreeScope(

);

Parameters

This method has no parameters.

Return Value

None

Remarks

When an element is retrieved, caching can be performed for only the element itself (the default behavior), or for the element and its children or descendants. This property describes the scope of the request.

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, Windows XP with SP3 and Platform Update for Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008, Windows Server 2003 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)

See Also

Caching UI Automation Properties and Control Patterns

Conceptual

IUIAutomationCacheRequest

Obtaining UI Automation Elements

Reference