Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
|---|---|---|
![]() |
PropertyCondition() | 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. |
![]() |
PropertyCondition(String, Object, PropertyConditionOperator) | Initializes a new instance of the PropertyCondition class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
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. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
BindParameters | Binds parameters to properties in this property condition by using the given value map. (Overrides QueryCondition.BindParameters(ValueMap).) |
![]() |
Equals | Returns a value that indicates whether the provided object is equal to the current object. (Overrides QueryCondition.Equals(Object).) |
![]() ![]() |
Escape | Returns the provided string as an escaped string. |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Returns the hash code for this property condition. (Overrides QueryCondition.GetHashCode().) |
![]() |
GetPropertyValue | Returns the value for the given property name. (Overrides QueryCondition.GetPropertyValue(String).) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Match | Determines whether the provided element matches the current property condition. (Overrides QueryCondition.Match(IUITechnologyElement).) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ParameterizeProperty | Parameterizes a property of this property condition. (Overrides QueryCondition.ParameterizeProperty(String, String).) |
![]() ![]() |
Parse | Creates a PropertyCondition by parsing the provided string. |
![]() |
ToString | Returns a string representation for the current property condition. (Overrides QueryCondition.ToString().) |
![]() ![]() |
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.
.gif)
.gif)
.gif)
.gif)