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
propertyName
Type: StringA property name.
propertyValue
Type: StringA property value.
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.