Represents an AND condition for a query.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.QueryCondition
    Microsoft.VisualStudio.TestTools.UITest.Extension.AndCondition
Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Class AndCondition _
    Inherits QueryCondition
public class AndCondition : QueryCondition
public ref class AndCondition : public QueryCondition
type AndCondition =  
    class 
        inherit QueryCondition 
    end
public class AndCondition extends QueryCondition
The AndCondition type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | AndCondition() | Initializes a new instance of the AndCondition class. | 
| .gif) | AndCondition(array<IQueryCondition[]) | Initializes a new instance of the AndCondition class by using the provided conditions. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Conditions | Gets or sets an array of nested query conditions. (Inherited from QueryCondition.) | 
| .gif) | ConditionsWrapper | Gets or sets the nested conditions for serialization. (Inherited from QueryCondition.) | 
| .gif) | Name | Gets or sets the name of this query condition. (Inherited from QueryCondition.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | BindParameters | Binds parameters to properties in this query condition by using the given value map. (Inherited from QueryCondition.) | 
| .gif) | Equals | Returns a value that indicates whether the provided object is equal to this query condition. (Inherited from QueryCondition.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from QueryCondition.) | 
| .gif) | GetPropertyValue | Retrieves the value of the named property, if it exists. (Inherited from QueryCondition.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Match | Determines whether the provided element matches this condition. (Overrides QueryCondition.Match(IUITechnologyElement).) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ParameterizeProperty | Parameterizes the given property by using the given parameter name. (Inherited from QueryCondition.) | 
| .gif) .gif) | Parse | Parses the provided string into an AndCondition object. | 
| .gif) | ToString | Returns a string representation of this AND condition. (Overrides QueryCondition.ToString().) | 
Top
Fields
| Name | Description | |
|---|---|---|
| .gif) .gif) | ConditionDelimiter | Returns "&&", which is used to separate nested conditions in the AND condition. | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.