Add multiple property, value pairs to property collection. If the property with same name already exists, then updates its value.
Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.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<String[]Name value pairs to be added.
Remarks
e.g. PropertyExpressionCollection collection = new PropertyExpressionCollection(); collection.Add("ControlType", "Hyperlink", "Id", "foo");
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.