Sdílet prostřednictvím


QueryCondition Class

Definition

Provides an abstract base class for query conditions.

public ref class QueryCondition abstract : Microsoft::VisualStudio::TestTools::UITest::Extension::IQueryCondition
[System.Serializable]
public abstract class QueryCondition : Microsoft.VisualStudio.TestTools.UITest.Extension.IQueryCondition
[<System.Serializable>]
type QueryCondition = class
    interface IQueryCondition
Public MustInherit Class QueryCondition
Implements IQueryCondition
Inheritance
QueryCondition
Derived
Attributes
Implements

Constructors

QueryCondition()

Initializes a new instance of the QueryCondition class.

QueryCondition(IQueryCondition[])

Initializes a new instance of the QueryCondition class by using the provided array of nested query conditions.

Properties

Conditions

Gets or sets an array of nested query conditions.

ConditionsWrapper

Gets or sets the nested conditions for serialization.

Name

Gets or sets the name of this query condition.

Methods

BindParameters(ValueMap)

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

Equals(Object)

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

GetHashCode()
GetPropertyValue(String)

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

Match(IUITechnologyElement)

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

ParameterizeProperty(String, String)

Parameterizes the given property by using the given parameter name.

ToString()

Returns a string representation of this condition.

Applies to