DeleteItem method: NodeTemplate collection
Syntax
DeleteItem(NodeName)
Description
The DeleteItem method deletes the NodeTemplate object identified by NodeName from the NodeTemplate Collection.
This method is not executed automatically. It is executed only when the PortalRegistry is saved.
Parameters
| Parameter | Description |
|---|---|
|
NodeName |
Specify the name of a NodeTemplate to delete. |
Returns
A Boolean value: True if the NodeTemplate was deleted, False otherwise.
Example
If Not &MyNodeTemplates.DeleteItem("HRMS") Then
/* Do error processing */
End-if