Delete Method (ADO Parameters Collection)

Deletes an object from the Parameters collection.

Syntax

Parameters.Delete Index

Parameters

Index A String representing the name of the object you wish 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.