Share via


AndCondition Class

Definition

Represents an AND condition for a query.

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

Constructors

AndCondition()

Initializes a new instance of the AndCondition class.

AndCondition(IQueryCondition[])

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

Fields

ConditionDelimiter

Returns "&&", which is used to separate nested conditions in the AND condition.

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)

Determines whether the provided element matches this condition.

ParameterizeProperty(String, String)

Parameterizes the given property by using the given parameter name.

(Inherited from QueryCondition)
Parse(String)

Parses the provided string into an AndCondition object.

ToString()

Returns a string representation of this AND condition.

Applies to