Export (0) Print
Expand All

PropertyExpression Class

Represents a key-value pair of search properties that has an optional property expression operator.

System.Object
  Microsoft.VisualStudio.TestTools.UITesting.PropertyExpression

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public class PropertyExpression : ICloneable, 
	INotifyPropertyChanged

The PropertyExpression type exposes the following members.

  NameDescription
Public methodPropertyExpression()Initializes a new instance of the PropertyExpression class.
Public methodPropertyExpression(String, String)Initializes a new instance of the PropertyExpression class by using the provided property name and value.
Public methodPropertyExpression(String, String, PropertyExpressionOperator)Initializes a new instance of the PropertyExpression class by using the provided property name, value to search for, and property operator.
Top

  NameDescription
Public propertyPropertyNameThe name of the property to search for.
Public propertyPropertyOperatorGets the operator to use to search for a property that has the specified property value.
Public propertyPropertyValueGets or sets the property value to search for.
Top

  NameDescription
Public methodCloneReturns a copy of the current instance.
Public methodEqualsDetermines whether the provided object is equal to the current instance. (Overrides Object.Equals(Object).)
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 methodGetHashCodeServes as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string representation of the PropertyExpression object. (Overrides Object.ToString().)
Top

  NameDescription
Public eventPropertyChangedOccurs when the value of a property value of this object has changed.
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.

Community Additions

ADD
Show:
© 2015 Microsoft