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.

.NET Framework Security

See Also

Reference

PropertyExpression Class

PropertyExpression Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace

PropertyExpressionOperator