Removing an item in LotusScript® classes

Use either the Remove method of the NotesItem class or the RemoveItem method of NotesDocument to remove an item from a document. The Remove method removes only the current object--other items with the same name remain in existence. The RemoveItem method removes all items with the specified name.

After removing an item, you must call the Save method for the NotesDocument object that contained the item or the update is lost when the program exits.