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: StringThe name of the property.
value
Type: ObjectThe value of 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.