SqlBulkCopyColumnMappingCollection.CopyTo Method (SqlBulkCopyColumnMapping[], Int32)

 

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

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public void CopyTo(
	SqlBulkCopyColumnMapping[] array,
	int index
)

Parameters

array
Type: System.Data.SqlClient.SqlBulkCopyColumnMapping[]

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

index
Type: System.Int32

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

.NET Framework
Available since 2.0
Return to top
Show: