C# Class Automation.UI.Tree.QueryParts.QueryScopePart

Represents the scope part of a query.
Inheritance: QueryPart
Show file Open project: vijayakumarsuraj/UIAutomation

Public Methods

Method Description
FindChildren ( ) : QueryWherePart

Sets the scope of the query to 'Children'.

FindDescendants ( ) : QueryWherePart

Sets the scope of the query to 'Descendants'.

Private Methods

Method Description
QueryScopePart ( Query query ) : System.Windows.Automation

New query scope part.

Method Details

FindChildren() public method

Sets the scope of the query to 'Children'.
public FindChildren ( ) : QueryWherePart
return QueryWherePart

FindDescendants() public method

Sets the scope of the query to 'Descendants'.
public FindDescendants ( ) : QueryWherePart
return QueryWherePart