Rediger

Del via


SqlBulkCopyColumnMappingCollection.IndexOf(SqlBulkCopyColumnMapping) Method

Definition

Gets the index of the specified SqlBulkCopyColumnMapping object.

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

Parameters

value
SqlBulkCopyColumnMapping

The SqlBulkCopyColumnMapping object for which to search.

Returns

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

Applies to

See also