Collection<T>.Merge Method (array<IMetadataCollection<T>[])
Merges the IMetadataCollection<T> objects into one collection.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Shared Function Merge ( _
ParamArray collections As IMetadataCollection(Of T)() _
) As IMetadataCollection(Of T)
'Usage
Dim collections As IMetadataCollection(Of T)()
Dim returnValue As IMetadataCollection(Of T)
returnValue = Collection.Merge(collections)
public static IMetadataCollection<T> Merge(
params IMetadataCollection<T>[] collections
)
public:
static IMetadataCollection<T>^ Merge(
... array<IMetadataCollection<T>^>^ collections
)
static member Merge :
collections:IMetadataCollection<'T>[] -> IMetadataCollection<'T>
public static function Merge(
... collections : IMetadataCollection<T>[]
) : IMetadataCollection<T>
Parameters
- collections
Type: array<Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T>[]
The list of IMetadataCollection<T> objects to merge.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T>
An IMetadataCollection<T> object that represents the merged collection.