Share via


PropertyCondition Constructor (String, Object)

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

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    value As Object _
)
public PropertyCondition(
    string name,
    Object value
)
public:
PropertyCondition(
    String^ name, 
    Object^ value
)
new : 
        name:string * 
        value:Object -> PropertyCondition
public function PropertyCondition(
    name : String, 
    value : Object
)

Parameters

  • name
    Type: String

    The name of the property.

  • value
    Type: Object

    The value of the property.

.NET Framework Security

See Also

Reference

PropertyCondition Class

PropertyCondition Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace