AddRange 方法

Adds the elements of a ICollection to the end of the collection.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Sub AddRange ( _
    items As ICollection _
)
用法
Dim instance As RestoreFolderCollection
Dim items As ICollection

instance.AddRange(items)
public void AddRange(
    ICollection items
)
public:
void AddRange(
    ICollection^ items
)
member AddRange : 
        items:ICollection -> unit 
public function AddRange(
    items : ICollection
)

异常

异常 条件
ArgumentNullException

c is a null reference (Nothing in Visual Basic).