Share via


IMutableMetadataCollection<T>.AddRange Method

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

Parameters

  • collection
    Type: System.Collections.Generic.IEnumerable<T>
    The collection of elements to be added to the end of this collection. collection cannot be nulla null reference (Nothing in Visual Basic) nor can it contain elements that are nulla null reference (Nothing in Visual Basic).