Freigeben über


AddRange-Methode

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

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Sub AddRange ( _
    collection As IEnumerable(Of T) _
)
'Usage
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>
)

Parameter

  • collection
    Typ: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'T> ) > ) >
    The collection of elements to be added to the end of this collection. collection cannot be nullNothingnullptrunitein NULL-Verweis (Nothing in Visual Basic) nor can it contain elements that are nullNothingnullptrunitein NULL-Verweis (Nothing in Visual Basic).