Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Web Local Storage - Remove Method

Panel
bgColor#2c3c4c

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


See also

All Component Classes

Technical Reference