Collection<T>.Merge 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Merge(IMetadataCollection<T>[])
public static Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T> Merge(params Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T>[] collections);
static member Merge : Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<'T (requires 'T : null and 'T :> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject)>[] -> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<'T (requires 'T : null and 'T :> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject)>
Public Shared Function Merge (ParamArray collections As IMetadataCollection(Of T)()) As IMetadataCollection(Of T)
參數
- collections
- IMetadataCollection<T>[]
傳回
適用於
Merge(IMetadataCollection<T>, IMetadataCollection<T>)
public static Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T> Merge(Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T> collection1, Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T> collection2);
static member Merge : Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<'T (requires 'T : null and 'T :> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject)> * Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<'T (requires 'T : null and 'T :> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject)> -> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<'T (requires 'T : null and 'T :> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject)>
Public Shared Function Merge (collection1 As IMetadataCollection(Of T), collection2 As IMetadataCollection(Of T)) As IMetadataCollection(Of T)
參數
- collection1
- IMetadataCollection<T>
- collection2
- IMetadataCollection<T>
傳回
適用於
Merge(Boolean, IMetadataCollection<T>[])
public static Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T> Merge(bool allowDuplicates, params Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T>[] collections);
static member Merge : bool * Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<'T (requires 'T : null and 'T :> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject)>[] -> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<'T (requires 'T : null and 'T :> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject)>
Public Shared Function Merge (allowDuplicates As Boolean, ParamArray collections As IMetadataCollection(Of T)()) As IMetadataCollection(Of T)
參數
- allowDuplicates
- Boolean
- collections
- IMetadataCollection<T>[]
傳回
適用於
Merge(Boolean, IMetadataCollection<T>, IMetadataCollection<T>)
public static Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T> Merge(bool allowDuplicates, Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T> collection1, Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T> collection2);
static member Merge : bool * Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<'T (requires 'T : null and 'T :> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject)> * Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<'T (requires 'T : null and 'T :> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject)> -> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<'T (requires 'T : null and 'T :> Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataObject)>
Public Shared Function Merge (allowDuplicates As Boolean, collection1 As IMetadataCollection(Of T), collection2 As IMetadataCollection(Of T)) As IMetadataCollection(Of T)
參數
- allowDuplicates
- Boolean
- collection1
- IMetadataCollection<T>
- collection2
- IMetadataCollection<T>