다음을 통해 공유


Collection<T>.Merge 메서드 (Boolean, array<IMetadataCollection<T> )

Merges two or more collections into one collection.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

구문

‘선언
Public Shared Function Merge ( _
    allowDuplicates As Boolean, _
    ParamArray collections As IMetadataCollection(Of T)() _
) As IMetadataCollection(Of T)
‘사용 방법
Dim allowDuplicates As Boolean 
Dim collections As IMetadataCollection(Of T)()
Dim returnValue As IMetadataCollection(Of T)

returnValue = Collection.Merge(allowDuplicates, _
    collections)
public static IMetadataCollection<T> Merge(
    bool allowDuplicates,
    params IMetadataCollection<T>[] collections
)
public:
static IMetadataCollection<T>^ Merge(
    bool allowDuplicates, 
    ... array<IMetadataCollection<T>^>^ collections
)
static member Merge : 
        allowDuplicates:bool * 
        collections:IMetadataCollection<'T>[] -> IMetadataCollection<'T> 
public static function Merge(
    allowDuplicates : boolean, 
    ... collections : IMetadataCollection<T>[]
) : IMetadataCollection<T>

매개 변수

  • allowDuplicates
    유형: System.Boolean
    true to allow duplicates in the collection; otherwise, false.

반환 값

유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<T>
An IMetadataCollection<T> object that represents the merged collection.

참고 항목

참조

Collection<T> 클래스

Merge 오버로드

Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스