DeleteItem method: AssignedPagelet collection
Syntax
DeleteItem(PageletName)
Description
The DeleteItem method deletes the AssignedPagelet object identified by PageletName from the AssignedPagelet Collection.
This method is not executed automatically. It is executed only when the parent object is saved.
Parameters
| Parameter | Description |
|---|---|
|
PageletName |
Specify the name of an AssignedPagelet existing in the AssignedPagelet collection. |
Returns
A Boolean value: True if the AssignedPagelet was deleted, False otherwise.
Example
If Not &MyColl.DeleteItem("Weather_411") Then
/* do error processing */
End-If;