IUIAutomationTreeWalker::Condition Property
Retrieves the condition that defines the view of the Microsoft UI Automation tree.
Syntax
HRESULT IUIAutomationTreeWalker::get_Condition(IUIAutomationCondition **condition);
Parameters
- condition
The address of a variable that receives a pointer to the IUIAutomationCondition interface that represents the condition. This is the interface that was passed to IUIAutomation::CreateTreeWalker.
Return Value
Returns S_OK if successful, or an error value otherwise.