Provides an abstract base class for query conditions.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.QueryCondition
    Microsoft.VisualStudio.TestTools.UITest.Extension.AndCondition
    Microsoft.VisualStudio.TestTools.UITest.Extension.FilterCondition
    Microsoft.VisualStudio.TestTools.UITest.Extension.PropertyCondition
Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public MustInherit Class QueryCondition _
    Implements IQueryCondition
[SerializableAttribute]
public abstract class QueryCondition : IQueryCondition
[SerializableAttribute]
public ref class QueryCondition abstract : IQueryCondition
[<AbstractClass>]
[<SerializableAttribute>]
type QueryCondition =  
    class 
        interface IQueryCondition 
    end
public abstract class QueryCondition implements IQueryCondition
The QueryCondition type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | QueryCondition() | Initializes a new instance of the QueryCondition class. | 
| .gif) | QueryCondition(array<IQueryCondition[]) | Initializes a new instance of the QueryCondition class by using the provided array of nested query conditions. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Conditions | Gets or sets an array of nested query conditions. | 
| .gif) | ConditionsWrapper | Gets or sets the nested conditions for serialization. | 
| .gif) | Name | Gets or sets the name of this query condition. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | BindParameters | Binds parameters to properties in this query condition by using the given value map. | 
| .gif) | Equals | Returns a value that indicates whether the provided object is equal to this query condition. (Overrides Object.Equals(Object).) | 
| .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. (Overrides Object.GetHashCode.) | 
| .gif) | GetPropertyValue | Retrieves the value of the named property, if it exists. | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Match | Returns a value that indicates whether the provided element matches the current query condition. | 
| .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. | 
| .gif) | ToString | Returns a string representation of this condition. (Overrides Object.ToString.) | 
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.