PropertyExpressionCollection.Add Method (array<String )

Adds a property expression to the collection for each pair in the provided array of name-value pairs.

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

Syntax

'Declaration
Public Sub Add ( _
    ParamArray nameValuePairs As String() _
)
public void Add(
    params string[] nameValuePairs
)
public:
void Add(
    ... array<String^>^ nameValuePairs
)
member Add : 
        nameValuePairs:string[] -> unit 
public function Add(
    ... nameValuePairs : String[]
)

Parameters

  • nameValuePairs
    Type: array<System.String[]
    An array of name-value pairs.

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