DB2®BulkCopyColumnMappingCollection.IndexOf Method

Returns a value indicating the position in the DB2BulkCopyColumnMappingCollection where the specified DB2BulkCopyColumnMapping object is located.

Namespace:
IBM.Data.DB2
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Public Function IndexOf ( _
          inValue As DB2BulkCopyColumnMapping _
) As Integer
[C#]
public int IndexOf(DB2BulkCopyColumnMapping inValue)
[C++]
public:
int IndexOf (DB2BulkCopyColumnMapping* inValue)
[JScript]
public function IndexOf (
          inValue : DB2BulkCopyColumnMapping
) : int

Parameters

inValue
The DB2BulkCopyColumnMapping object you are searching for.

Return value

The zero-based index of the column mapping. IndexOf will return -1 if the column mapping is not found in the collection.