PropertyCondition Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a query condition for a property.
public ref class PropertyCondition : Microsoft::VisualStudio::TestTools::UITest::Extension::QueryCondition
public class PropertyCondition : Microsoft.VisualStudio.TestTools.UITest.Extension.QueryCondition
type PropertyCondition = class
inherit QueryCondition
Public Class PropertyCondition
Inherits QueryCondition
- Inheritance
Constructors
PropertyCondition() |
Initializes a new instance of the PropertyCondition class. |
PropertyCondition(String, Object, PropertyConditionOperator) |
Initializes a new instance of the PropertyCondition class. |
PropertyCondition(String, Object) |
Initializes a new instance of the PropertyCondition class by using the provided property name and value. |
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) |
ParameterName |
Gets or sets the name of the parameter. |
PropertyName |
Gets or sets the name of the property. |
PropertyOperator |
Gets or sets the operator for the property name and value. |
PropertyOperatorWrapper |
Gets or sets the string representation of the operator for this property condition. |
Value |
Gets or sets the value of the property condition. |
ValueWrapper |
Gets or sets the string version of the value of the property condition. |
Methods
BindParameters(ValueMap) |
Binds parameters to properties in this property condition by using the given value map. |
Equals(Object) |
Returns a value that indicates whether the provided object is equal to the current object. |
Escape(String) |
Returns the provided string as an escaped string. |
GetHashCode() |
Returns the hash code for this property condition. |
GetPropertyValue(String) |
Returns the value for the given property name. |
Match(IUITechnologyElement) |
Determines whether the provided element matches the current property condition. |
ParameterizeProperty(String, String) |
Parameterizes a property of this property condition. |
Parse(String) |
Creates a PropertyCondition by parsing the provided string. |
ToString() |
Returns a string representation for the current property condition. |
Unescape(String) |
Unescapes any escaped characters in the provided string. |