共用方式為


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).