Поделиться через


Метод CopyTo

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
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
)

Параметры

Реализует

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