RemoveItem (NotesDocument - LotusScript®)

Given the name of an item, deletes the item from a document.

Defined in

NotesDocument

Syntax

Call notesDocument .RemoveItem( itemName$ )

Parameters

itemName$

String. The name of the item to delete from the document. If more than one item has the specified name, all items with this name are deleted. If there is no item with the specified name,the method does nothing.

Usage

You can achieve the same result with the Remove method in the NotesItem class.

Remember to call Save to save your changes to a document.

Example