Share via


PropertyExpression Constructors

Definition

Overloads

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.

PropertyExpression()

Initializes a new instance of the PropertyExpression class.

public:
 PropertyExpression();
public PropertyExpression ();
Public Sub New ()

Applies to

PropertyExpression(String, String)

Initializes a new instance of the PropertyExpression class by using the provided property name and value.

public:
 PropertyExpression(System::String ^ propertyName, System::String ^ propertyValue);
public PropertyExpression (string propertyName, string propertyValue);
new Microsoft.VisualStudio.TestTools.UITesting.PropertyExpression : string * string -> Microsoft.VisualStudio.TestTools.UITesting.PropertyExpression
Public Sub New (propertyName As String, propertyValue As String)

Parameters

propertyName
String

The name of a property to search for.

propertyValue
String

A search value for the property.

Applies to

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.

public:
 PropertyExpression(System::String ^ propertyName, System::String ^ propertyValue, Microsoft::VisualStudio::TestTools::UITesting::PropertyExpressionOperator propertyOperator);
public PropertyExpression (string propertyName, string propertyValue, Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionOperator propertyOperator);
new Microsoft.VisualStudio.TestTools.UITesting.PropertyExpression : string * string * Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionOperator -> Microsoft.VisualStudio.TestTools.UITesting.PropertyExpression
Public Sub New (propertyName As String, propertyValue As String, propertyOperator As PropertyExpressionOperator)

Parameters

propertyName
String

The name of the property to search for.

propertyValue
String

A search value for the property.

Applies to