Bewerken

Delen via


SqlBulkCopyColumnMappingCollection.CopyTo Method

Definition

Copies the elements of the SqlBulkCopyColumnMappingCollection to an array of SqlBulkCopyColumnMapping items, starting at a particular index.

public:
 void CopyTo(cli::array <System::Data::SqlClient::SqlBulkCopyColumnMapping ^> ^ array, int index);
public void CopyTo (System.Data.SqlClient.SqlBulkCopyColumnMapping[] array, int index);
member this.CopyTo : System.Data.SqlClient.SqlBulkCopyColumnMapping[] * int -> unit
Public Sub CopyTo (array As SqlBulkCopyColumnMapping(), index As Integer)

Parameters

array
SqlBulkCopyColumnMapping[]

The one-dimensional SqlBulkCopyColumnMapping array that is the destination of the elements copied from SqlBulkCopyColumnMappingCollection. The array must have zero-based indexing.

index
Int32

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

Applies to

See also