Delete Method

 

Description

 

Removes an object from a collection.

 

PowerBASIC Syntax

 

METHOD Delete (BYVAL Item AS VARIANT)

 

Parameter

 

Item

A Variant that specifies the name or ordinal position (index) of the object to delete.

 

Return Value

 

No return value.

 

Remarks

 

An error will occur if the Item does not exist in the collection.

 

For Tables and Users collections, an error will occur if the provider does not support deleting tables or users, respectively. For Procedures and Views collections, Delete will fail if the provider does not support persisting commands.

 

Valid XHTML 1.0 Transitional