共用方式為


PropertyCondition Constructors

Definition

Overloads

PropertyCondition()

Initializes a new instance of the PropertyCondition class.

PropertyCondition(String, Object)

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

PropertyCondition(String, Object, PropertyConditionOperator)

Initializes a new instance of the PropertyCondition class.

PropertyCondition()

Initializes a new instance of the PropertyCondition class.

public:
 PropertyCondition();
public PropertyCondition ();
Public Sub New ()

Applies to

PropertyCondition(String, Object)

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

public:
 PropertyCondition(System::String ^ name, System::Object ^ value);
public PropertyCondition (string name, object value);
new Microsoft.VisualStudio.TestTools.UITest.Extension.PropertyCondition : string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.PropertyCondition
Public Sub New (name As String, value As Object)

Parameters

name
String

The name of the property.

value
Object

The value of the property.

Applies to

PropertyCondition(String, Object, PropertyConditionOperator)

Initializes a new instance of the PropertyCondition class.

public:
 PropertyCondition(System::String ^ name, System::Object ^ value, Microsoft::VisualStudio::TestTools::UITest::Extension::PropertyConditionOperator op);
public PropertyCondition (string name, object value, Microsoft.VisualStudio.TestTools.UITest.Extension.PropertyConditionOperator op);
new Microsoft.VisualStudio.TestTools.UITest.Extension.PropertyCondition : string * obj * Microsoft.VisualStudio.TestTools.UITest.Extension.PropertyConditionOperator -> Microsoft.VisualStudio.TestTools.UITest.Extension.PropertyCondition
Public Sub New (name As String, value As Object, op As PropertyConditionOperator)

Parameters

name
String

The name of the property.

value
Object

The value of the property.

op
PropertyConditionOperator

A PropertyConditionOperator that represents the operator for the property name and value.

Applies to