共用方式為


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