Editare

Partajați prin


DbBatchCommandCollection.CopyTo(DbBatchCommand[], Int32) Method

Definition

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

public:
 abstract void CopyTo(cli::array <System::Data::Common::DbBatchCommand ^> ^ array, int arrayIndex);
public abstract void CopyTo (System.Data.Common.DbBatchCommand[] array, int arrayIndex);
abstract member CopyTo : System.Data.Common.DbBatchCommand[] * int -> unit
Public MustOverride Sub CopyTo (array As DbBatchCommand(), arrayIndex As Integer)

Parameters

array
DbBatchCommand[]

The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.

arrayIndex
Int32

The zero-based index in array at which copying begins.

Implements

Applies to