Share via


PropertyExpression Constructor (String, String)

Initializes a new instance of the PropertyExpression class by using the provided property name and value.

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 _
)
public PropertyExpression(
    string propertyName,
    string propertyValue
)
public:
PropertyExpression(
    String^ propertyName, 
    String^ propertyValue
)
new : 
        propertyName:string * 
        propertyValue:string -> PropertyExpression
public function PropertyExpression(
    propertyName : String, 
    propertyValue : String
)

Parameters

  • propertyName
    Type: String

    The name of a property to search for.

  • propertyValue
    Type: String

    A search value for the property.

.NET Framework Security

See Also

Reference

PropertyExpression Class

PropertyExpression Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace