Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PropertyCondition Class

Represents a query condition for a property.

System.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)
public class PropertyCondition extends QueryCondition

The PropertyCondition type exposes the following members.

  NameDescription
Public methodPropertyCondition()Initializes a new instance of the PropertyCondition class.
Public methodPropertyCondition(String, Object)Initializes a new instance of the PropertyCondition class by using the provided property name and value.
Public methodPropertyCondition(String, Object, PropertyConditionOperator)Initializes a new instance of the PropertyCondition class.
Top
  NameDescription
Public propertyConditionsGets or sets an array of nested query conditions. (Inherited from QueryCondition.)
Public propertyConditionsWrapperGets or sets the nested conditions for serialization. (Inherited from QueryCondition.)
Public propertyNameGets or sets the name of this query condition. (Inherited from QueryCondition.)
Public propertyParameterNameGets or sets the name of the parameter.
Public propertyPropertyNameGets or sets the name of the property.
Public propertyPropertyOperatorGets or sets the operator for the property name and value.
Public propertyPropertyOperatorWrapperGets or sets the string representation of the operator for this property condition.
Public propertyValueGets or sets the value of the property condition.
Public propertyValueWrapperGets or sets the string version of the value of the property condition.
Top
  NameDescription
Public methodBindParametersBinds parameters to properties in this property condition by using the given value map. (Overrides QueryCondition.BindParameters(ValueMap).)
Public methodEqualsReturns a value that indicates whether the provided object is equal to the current object. (Overrides QueryCondition.Equals(Object).)
Public methodStatic memberEscapeReturns the provided string as an escaped string.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this property condition. (Overrides QueryCondition.GetHashCode().)
Public methodGetPropertyValueReturns the value for the given property name. (Overrides QueryCondition.GetPropertyValue(String).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodMatchDetermines whether the provided element matches the current property condition. (Overrides QueryCondition.Match(IUITechnologyElement).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodParameterizePropertyParameterizes a property of this property condition. (Overrides QueryCondition.ParameterizeProperty(String, String).)
Public methodStatic memberParseCreates a PropertyCondition by parsing the provided string.
Public methodToStringReturns a string representation for the current property condition. (Overrides QueryCondition.ToString().)
Public methodStatic memberUnescapeUnescapes any escaped characters in the provided string.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.