IndexOf(Object) Method

Syntax:

public int IndexOf(Object value)

Description:

Returns the index of the specified RdmParameter object within the parameter collection.

Parameters:

value

Type: System.Object

The RdmParameter object (as an Object) in the collection.

Return Value:

Type: System.Int32

The zero-based index of the specified parameter or -1 if the parameter is not found.

Reference:

For more information, reference MSDN documentation for: System.Data.Common.DbParameterCollection.IndexOf