RemoveAt(int) Method

Syntax:

public void RemoveAt(int index)

Description:

Removes the parameter at the specified index from the parameter collection.

Parameters:

index

Type: System.Int32

The index of the parameter to be removed.

Exceptions:

Exception Condition
ArgumentOutOfRangeException The index specified is less than zero or greater than Count.

Reference:

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