Represents a query condition for a property.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.QueryCondition
    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
Public Class PropertyCondition _
    Inherits QueryCondition
public class PropertyCondition : QueryCondition
public ref class PropertyCondition : public QueryCondition
type PropertyCondition =  
    class 
        inherit QueryCondition 
    end
public class PropertyCondition extends QueryCondition
The PropertyCondition type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | PropertyCondition() | Initializes a new instance of the PropertyCondition class. | 
| .gif) | PropertyCondition(String, Object) | Initializes a new instance of the PropertyCondition class by using the provided property name and value. | 
| .gif) | PropertyCondition(String, Object, PropertyConditionOperator) | Initializes a new instance of the PropertyCondition class. | 
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.) | 
| .gif) | ParameterName | Gets or sets the name of the parameter. | 
| .gif) | PropertyName | Gets or sets the name of the property. | 
| .gif) | PropertyOperator | Gets or sets the operator for the property name and value. | 
| .gif) | PropertyOperatorWrapper | Gets or sets the string representation of the operator for this property condition. | 
| .gif) | Value | Gets or sets the value of the property condition. | 
| .gif) | ValueWrapper | Gets or sets the string version of the value of the property condition. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | BindParameters | Binds parameters to properties in this property condition by using the given value map. (Overrides QueryCondition.BindParameters(ValueMap).) | 
| .gif) | Equals | Returns a value that indicates whether the provided object is equal to the current object. (Overrides QueryCondition.Equals(Object).) | 
| .gif) .gif) | Escape | Returns the provided string as an escaped string. | 
| .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 | Returns the hash code for this property condition. (Overrides QueryCondition.GetHashCode().) | 
| .gif) | GetPropertyValue | Returns the value for the given property name. (Overrides QueryCondition.GetPropertyValue(String).) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Match | Determines whether the provided element matches the current property condition. (Overrides QueryCondition.Match(IUITechnologyElement).) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ParameterizeProperty | Parameterizes a property of this property condition. (Overrides QueryCondition.ParameterizeProperty(String, String).) | 
| .gif) .gif) | Parse | Creates a PropertyCondition by parsing the provided string. | 
| .gif) | ToString | Returns a string representation for the current property condition. (Overrides QueryCondition.ToString().) | 
| .gif) .gif) | Unescape | Unescapes any escaped characters in the provided string. | 
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.