PropertyExpressionCollection.AddRange 方法 (PropertyExpressionCollection)

將提供之集合中的所有屬性運算式加入至目前的集合。

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

語法

'宣告
Public Sub AddRange ( _
    collectionToAdd As PropertyExpressionCollection _
)
public void AddRange(
    PropertyExpressionCollection collectionToAdd
)
public:
void AddRange(
    PropertyExpressionCollection^ collectionToAdd
)
member AddRange : 
        collectionToAdd:PropertyExpressionCollection -> unit 
public function AddRange(
    collectionToAdd : PropertyExpressionCollection
)

參數

備註

如果指定的屬性運算式在集合中出現,它就會更新。

.NET Framework 安全性

請參閱

參考

PropertyExpressionCollection 類別

AddRange 多載

Microsoft.VisualStudio.TestTools.UITesting 命名空間

PropertyExpressionCollection