Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Adds a property expression by using the provided property name, value, and operator.
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, _
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: StringThe property value to search for.
conditionOperator
Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionOperatorThe operator to use to compare the values (either the values are equal or the property value contains 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.
See Also
Reference
PropertyExpressionCollection Class