SqlBulkCopyColumnMappingCollection.CopyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.