Represents a key-value pair of search properties that has an optional property expression operator.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.UITesting.PropertyExpression
Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Class PropertyExpression _
    Implements ICloneable, INotifyPropertyChanged
public class PropertyExpression : ICloneable, 
    INotifyPropertyChanged
public ref class PropertyExpression : ICloneable, 
    INotifyPropertyChanged
type PropertyExpression =  
    class 
        interface ICloneable 
        interface INotifyPropertyChanged 
    end
public class PropertyExpression implements ICloneable, INotifyPropertyChanged
The PropertyExpression type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | PropertyExpression() | Initializes a new instance of the PropertyExpression class. | 
| .gif) | PropertyExpression(String, String) | Initializes a new instance of the PropertyExpression class by using the provided property name and value. | 
| .gif) | PropertyExpression(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
Properties
| Name | Description | |
|---|---|---|
| .gif) | PropertyName | The name of the property to search for. | 
| .gif) | PropertyOperator | Gets the operator to use to search for a property that has the specified property value. | 
| .gif) | PropertyValue | Gets or sets the property value to search for. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Clone | Returns a copy of the current instance. | 
| .gif) | Equals | Determines whether the provided object is equal to the current instance. (Overrides Object.Equals(Object).) | 
| .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 | Serves as the default hash function. (Overrides Object.GetHashCode.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Returns a string representation of the PropertyExpression object. (Overrides Object.ToString.) | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | PropertyChanged | Occurs when the value of a property value of this object has changed. | 
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.