IUIAutomationCacheRequest::TreeFilter Property
Sets or retrieves the view of the UI Automation element tree to use when caching.
Syntax
HRESULT IUIAutomationCacheRequest::get_TreeFilter(IUIAutomationCondition **pFilter); HRESULT IUIAutomationCacheRequest::put_TreeFilter(IUIAutomationCondition *filter);
Parameters
- pFilter
The address of a variable that receives a pointer to the IUIAutomationCondition interface of the condition that defines the view.- filter
The address of the IUIAutomationCondition interface of the condition that defines the view.
Return Value
Returns S_OK if successful, or an error value otherwise.