共用方式為


PropertyExpressionCollection.Add 方法 (PropertyExpression)

將提供的屬性運算式加入至集合。

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

語法

'宣告
Public Sub Add ( _
    propertyExpression As PropertyExpression _
)
public void Add(
    PropertyExpression propertyExpression
)
public:
virtual void Add(
    PropertyExpression^ propertyExpression
) sealed
abstract Add : 
        propertyExpression:PropertyExpression -> unit  
override Add : 
        propertyExpression:PropertyExpression -> unit
public final function Add(
    propertyExpression : PropertyExpression
)

參數

實作

ICollection.Add(UTP)

.NET Framework 安全性

請參閱

參考

PropertyExpressionCollection 類別

Add 多載

Microsoft.VisualStudio.TestTools.UITesting 命名空間

PropertyExpression