Web Local Storage - Remove Method
Remove an item
Member of Web Local Storage (PRIM_WEB.LocalStorage)
Parameters
Name | Type | Data Type | Description |
|---|---|---|---|
Key | *Input | Unicode String | Key used to identify the item |
Details
The Remove method allows a stored item to be deleted using its Name.
Attempting to remove an item which does not exist will result in a run time failure.
Example
Removing a LocalStorage item.
If (#sys_web.LocalStorage<#Name> *IsNot *null)
#Value := #sys_web.LocalStorage.Remove<#Name>
Endif