DeleteItem method: PageletCategory collection

Syntax

DeleteItem(PageletCategoryName)

Description

The DeleteItem method deletes the PageletCategory object identified by PageletCategoryName from the database.

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

PageletCategoryName

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

Returns

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

Example

If Not &MyPageletCategoryColl.DeleteItem("MYPAGELETCATEGORY") Then
   /* PageletCategory not deleted. Do error checking */
End-If;