SqlBulkCopyColumnMappingCollection.IndexOf Method (SqlBulkCopyColumnMapping)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: