PropertyExpression-Konstruktor (String, String, PropertyExpressionOperator)

Initialisiert eine neue Instanz der PropertyExpression-Klasse mit dem angegebenen Eigenschaftennamen, dem angegebenen Suchwert und dem angegebenen Eigenschaftenoperator.

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
)

Parameter

  • propertyName
    Typ: System.String
    Der Name der zu suchenden Eigenschaft.
  • propertyValue
    Typ: System.String
    Ein Suchwert für die Eigenschaft.

.NET Framework-Sicherheit

Siehe auch

Referenz

PropertyExpression Klasse

PropertyExpression-Überladung

Microsoft.VisualStudio.TestTools.UITesting-Namespace

PropertyExpressionOperator