Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Add new property, value pair and a PropertyExpressionOperator 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 ( _
propertyName As String, _
propertyValue As String, _
conditionOperator As PropertyExpressionOperator _
)
public void Add(
string propertyName,
string propertyValue,
PropertyExpressionOperator conditionOperator
)
public:
void Add(
String^ propertyName,
String^ propertyValue,
PropertyExpressionOperator conditionOperator
)
member Add :
propertyName:string *
propertyValue:string *
conditionOperator:PropertyExpressionOperator -> unit
public function Add(
propertyName : String,
propertyValue : String,
conditionOperator : PropertyExpressionOperator
)
Parameters
propertyName
Type: StringThe name of the property.
propertyValue
Type: StringValue of the property.
conditionOperator
Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionOperatorThe operator e.g. Contains.
.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.