編輯

共用方式為


Delete method (ADO Parameters Collection)

Applies to: Access 2013, Office 2013

Deletes an object from the Parameters collection.

Syntax

Parameters.Delete Index

Parameters

Parameter Description
Index A String value that contains the name of the object you want to delete, or the objects 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.