AddRange 方法

Adds the elements in the specified collection to the end of this collection.

命名空间:  Microsoft.SqlServer.Management.SqlParser.Metadata
程序集:  Microsoft.SqlServer.Management.SqlParser(在 Microsoft.SqlServer.Management.SqlParser.dll 中)

语法

声明
Sub AddRange ( _
    collection As IEnumerable(Of T) _
)
用法
Dim instance As IMutableMetadataCollection
Dim collection As IEnumerable(Of T)

instance.AddRange(collection)
void AddRange(
    IEnumerable<T> collection
)
void AddRange(
    IEnumerable<T>^ collection
)
abstract AddRange : 
        collection:IEnumerable<'T> -> unit 
function AddRange(
    collection : IEnumerable<T>
)

参数

  • collection
    类型:System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'T> ) > ) >
    The collection of elements to be added to the end of this collection. collection cannot be nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing) nor can it contain elements that are nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing).