SqlBulkCopyColumnMappingCollection.IndexOf(SqlBulkCopyColumnMapping) Method

Definition

Gets the index of the specified SqlBulkCopyColumnMapping object.

public int IndexOf (Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping value);
member this.IndexOf : Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping -> int
Public Function IndexOf (value As SqlBulkCopyColumnMapping) As Integer

Parameters

value
SqlBulkCopyColumnMapping

The SqlBulkCopyColumnMapping object for which to search.

Returns

Int32

The zero-based index of the column mapping, or -1 if the column mapping is not found in the collection.

Applies to