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
- 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.