DeleteItem method: TabDefinition collection

Syntax

DeleteItem(TabDefinitionName)

Description

The DeleteItem method deletes the TabDefinition object identified by TabDefinitionName from the TabDefinition Collection.

Note:

The portal registry classes execute some methods "interactively", that is, as they happen. The item won't be marked for deletion, then actually deleted later. The item is deleted from the database as soon as the method is executed.

Parameters

Parameter Description

TabDefinitionName

Specify the name of a TabDefinition existing in the TabDefinition collection.

Returns

A Boolean value: True if the TabDefinition was deleted, False otherwise.

Example

If Not &MyColl.DeleteItem("TabDefnTest") Then 
   /* do error processing */
End-If;