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)

Syntax

'Declaration
Public Sub Add ( _
    propertyName As String, _
    propertyValue As String _
)
public void Add(
    string propertyName,
    string propertyValue
)
public:
void Add(
    String^ propertyName, 
    String^ propertyValue
)
member Add : 
        propertyName:string * 
        propertyValue:string -> unit 
public function Add(
    propertyName : String, 
    propertyValue : String
)

Parameters

Remarks

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.

.NET Framework Security

See Also

Reference

PropertyExpressionCollection Class

Add Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace