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<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
- 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.