Share via


Collection<T>.CopyToArray 메서드

Creates an array that contains all the items from the specified collection.

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

구문

‘선언
Public Shared Function CopyToArray ( _
    collection As IMetadataCollection(Of T) _
) As T()
‘사용 방법
Dim collection As IMetadataCollection(Of T)
Dim returnValue As T()

returnValue = Collection.CopyToArray(collection)
public static T[] CopyToArray(
    IMetadataCollection<T> collection
)
public:
static array<T>^ CopyToArray(
    IMetadataCollection<T>^ collection
)
static member CopyToArray : 
        collection:IMetadataCollection<'T> -> 'T[] 
public static function CopyToArray(
    collection : IMetadataCollection<T>
) : T[]

매개 변수

반환 값

유형: array<T[]
An array that contains items from the collection.

참고 항목

참조

Collection<T> 클래스

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