Share via


FilterCondition Class

Definition

public ref class FilterCondition : Microsoft::VisualStudio::TestTools::UITest::Extension::QueryCondition
public class FilterCondition : Microsoft.VisualStudio.TestTools.UITest.Extension.QueryCondition
type FilterCondition = class
    inherit QueryCondition
Public Class FilterCondition
Inherits QueryCondition
Inheritance
FilterCondition

Constructors

FilterCondition()

Initializes a new instance of the FilterCondition class.

FilterCondition(IQueryCondition[])

Initializes a new instance of the FilterCondition class by using the provided query conditions.

Fields

ConditionDelimiter

Returns the delimiter to be positioned between conditions (",").

Properties

Conditions

Gets or sets an array of nested query conditions.

(Inherited from QueryCondition)
ConditionsWrapper

Gets or sets the nested conditions for serialization.

(Inherited from QueryCondition)
Name

Gets or sets the name of this query condition.

(Inherited from QueryCondition)

Methods

BindParameters(ValueMap)

Binds parameters to properties in this query condition by using the given value map.

(Inherited from QueryCondition)
Equals(Object)

Returns a value that indicates whether the provided object is equal to this query condition.

(Inherited from QueryCondition)
GetHashCode() (Inherited from QueryCondition)
GetPropertyValue(String)

Retrieves the value of the named property, if it exists.

(Inherited from QueryCondition)
Match(IUITechnologyElement)

Returns a value that indicates whether the provided element matches the current filter condition.

ParameterizeProperty(String, String)

Parameterizes the given property by using the given parameter name.

(Inherited from QueryCondition)
Parse(String)

Returns an instance of the FilterCondition class by parsing the provided query element string.

ToString()

Returns the current filter condition as a string.

TryParse(String, FilterCondition)

Returns a value that indicates whether the provided query element string can be parsed into a FilterCondition.

Applies to