SqlBulkCopyColumnMappingCollection.IndexOf Method (SqlBulkCopyColumnMapping)

 

Gets the index of the specified SqlBulkCopyColumnMapping object.

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

public int IndexOf(
	SqlBulkCopyColumnMapping value
)

Parameters

value
Type: System.Data.SqlClient.SqlBulkCopyColumnMapping

The SqlBulkCopyColumnMapping object for which to search.

Return Value

Type: System.Int32

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

.NET Framework
Available since 2.0
Return to top
Show: