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