Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PropertyExpressionCollection::Add Method (String^, String^, PropertyExpressionOperator)

 

Adds a property expression by using the provided property name, value, and operator.

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

public:
void Add(
	String^ propertyName,
	String^ propertyValue,
	PropertyExpressionOperator conditionOperator
)

Parameters

propertyName
Type: System::String^

The name of the property.

propertyValue
Type: System::String^

The property value to search for.

conditionOperator
Type: Microsoft.VisualStudio.TestTools.UITesting::PropertyExpressionOperator

The operator to use to compare the values (either the values are equal or the property value contains the provided property value).

Return to top
Show: