다음을 통해 공유


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

Merges the two specified collections into one collection.

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

구문

‘선언
Public Shared Function Merge ( _
    collection1 As IMetadataCollection(Of T), _
    collection2 As IMetadataCollection(Of T) _
) As IMetadataCollection(Of T)
‘사용 방법
Dim collection1 As IMetadataCollection(Of T)
Dim collection2 As IMetadataCollection(Of T)
Dim returnValue As IMetadataCollection(Of T)

returnValue = Collection.Merge(collection1, _
    collection2)
public static IMetadataCollection<T> Merge(
    IMetadataCollection<T> collection1,
    IMetadataCollection<T> collection2
)
public:
static IMetadataCollection<T>^ Merge(
    IMetadataCollection<T>^ collection1, 
    IMetadataCollection<T>^ collection2
)
static member Merge : 
        collection1:IMetadataCollection<'T> * 
        collection2:IMetadataCollection<'T> -> IMetadataCollection<'T> 
public static function Merge(
    collection1 : IMetadataCollection<T>, 
    collection2 : IMetadataCollection<T>
) : IMetadataCollection<T>

매개 변수

반환 값

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

참고 항목

참조

Collection<T> 클래스

Merge 오버로드

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