Delete Method (ADO Parameters Collection)

Deletes an object from the Parameters collection.

Syntax

Parameters.Delete Index

Parameters

  • Index
    A String value that contains the name of the object you want to delete, or the object’s ordinal position (index) in the collection.

Remarks

Using the Delete method on a collection lets you remove one of the objects in the collection. This method is available only on the Parameters collection of a Command object. You must use the Parameter object's Name property or its collection index when calling the Delete method—an object variable is not a valid argument.

See Also

Delete Method (ADO Fields Collection) | Delete Method (ADO Recordset) | DeleteRecord Method

Applies To: Parameters Collection