CopyTo 方法

Copies the entire collection to a one-dimensional array, starting at the specified index of the target array.

命名空间:  Microsoft.SqlServer.Dts.Runtime.Enumerators.Item
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
用法
Dim instance As ForEachItem
Dim array As Array
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    Array array,
    int index
)
public:
virtual void CopyTo(
    Array^ array, 
    int index
) sealed
abstract CopyTo : 
        array:Array * 
        index:int -> unit 
override CopyTo : 
        array:Array * 
        index:int -> unit 
public final function CopyTo(
    array : Array, 
    index : int
)

参数

  • array
    类型:System. . :: . .Array
    The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.

实现

ICollection. . :: . .CopyTo(Array, Int32)