共用方式為


PropertyExpressionCollection.Add 方法 (String, String, PropertyExpressionOperator)

使用提供的屬性名稱、值和運算子,加入屬性運算式。

命名空間:  Microsoft.VisualStudio.TestTools.UITesting
組件:  Microsoft.VisualStudio.TestTools.UITest.Extension (在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)

語法

'宣告
Public Sub Add ( _
    propertyName As String, _
    propertyValue As String, _
    conditionOperator As PropertyExpressionOperator _
)
public void Add(
    string propertyName,
    string propertyValue,
    PropertyExpressionOperator conditionOperator
)
public:
void Add(
    String^ propertyName, 
    String^ propertyValue, 
    PropertyExpressionOperator conditionOperator
)
member Add : 
        propertyName:string * 
        propertyValue:string * 
        conditionOperator:PropertyExpressionOperator -> unit 
public function Add(
    propertyName : String, 
    propertyValue : String, 
    conditionOperator : PropertyExpressionOperator
)

參數

.NET Framework 安全性

請參閱

參考

PropertyExpressionCollection 類別

Add 多載

Microsoft.VisualStudio.TestTools.UITesting 命名空間

PropertyExpression

PropertyExpressionOperator