PropertyExpression Class
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 | |
---|---|---|
PropertyExpression() | Initializes a new instance of the PropertyExpression class. | |
PropertyExpression(String, String) | Initializes a new instance of the PropertyExpression class by using the provided property name and value. | |
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 | |
---|---|---|
PropertyName | The name of the property to search for. | |
PropertyOperator | Gets the operator to use to search for a property that has the specified property value. | |
PropertyValue | Gets or sets the property value to search for. |
Top
Methods
Name | Description | |
---|---|---|
Clone | Returns a copy of the current instance. | |
Equals | Determines whether the provided object is equal to the current instance. (Overrides Object.Equals(Object).) | |
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 | Serves as the default hash function. (Overrides Object.GetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string representation of the PropertyExpression object. (Overrides Object.ToString.) |
Top
Events
Name | Description | |
---|---|---|
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.