다음을 통해 공유


CopyTo 메서드

Copies members of the collection to an array, starting at the specified index of the array.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Sub CopyTo ( _
    array As Urn(), _
    arrayIndex As Integer _
)
‘사용 방법
Dim instance As UrnCollection
Dim array As Urn()
Dim arrayIndex As Integer

instance.CopyTo(array, arrayIndex)
public void CopyTo(
    Urn[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<Urn^>^ array, 
    int arrayIndex
) sealed
abstract CopyTo : 
        array:Urn[] * 
        arrayIndex:int -> unit 
override CopyTo : 
        array:Urn[] * 
        arrayIndex:int -> unit 
public final function CopyTo(
    array : Urn[], 
    arrayIndex : int
)

매개 변수

  • array
    형식: array<Urn> [] () [] []
    Array

구현

ICollection< (Of < ( <'T> ) > ) >. . :: . .CopyTo(array<T> [] () [] [], Int32)