This documentation is archived and is not being maintained.

PropertyExpressionCollection.Add Method (String, String)

Adds a property express to the collection by using the provided property name and property value.

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
)

Parameters

propertyName
Type: System.String
A property name.
propertyValue
Type: System.String
A property value.

The default operator is equality, which means that the value of the property that has the given name is equal to the provided property value.

Show: