PropertyExpression Constructor (String, String, PropertyExpressionOperator)
Initializes a new instance of the PropertyExpression class by using the provided property name, value to search for, and property operator.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Sub New ( _
propertyName As String, _
propertyValue As String, _
propertyOperator As PropertyExpressionOperator _
)
public PropertyExpression(
string propertyName,
string propertyValue,
PropertyExpressionOperator propertyOperator
)
public:
PropertyExpression(
String^ propertyName,
String^ propertyValue,
PropertyExpressionOperator propertyOperator
)
new :
propertyName:string *
propertyValue:string *
propertyOperator:PropertyExpressionOperator -> PropertyExpression
public function PropertyExpression(
propertyName : String,
propertyValue : String,
propertyOperator : PropertyExpressionOperator
)
Parameters
- propertyName
Type: System.String
The name of the property to search for.
- propertyValue
Type: System.String
A search value for the property.
- propertyOperator
Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionOperator
A PropertyExpressionOperator object.
.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.