Delete Method (ADO Parameters Collection)

See Also   Example   Applies To   

Deletes an object from the Parameters collection.

Syntax

Parameters.Delete Index

Parameters

Index   A String representing 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.