SqlBulkCopyColumnOrderHintCollection.IndexOf Method

Definition

Gets the index of the specified SqlBulkCopyColumnOrderHint object.

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

Parameters

value
SqlBulkCopyColumnOrderHint

The SqlBulkCopyColumnOrderHint object for which to search.

Returns

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

Applies to