removeItem (Document - Java™)
Removes an item from a document.
Defined in
Syntax
public void removeItem(String name)
throws NotesException
Parameters
String name
The name of the item to remove from the document. If more than one item has the specified name, all items with this name are removed. If there is no item with the specified name, the method does nothing.
Usage
You can achieve the same result with remove in Item.
To keep the changes to the document, you must call save after removing the item.