IsSaveToDisk (Item class - Java)

Read-Write. Indicates whether an item is saved when the document is saved.

Defined in

Item class

Data type

boolean

Syntax

public boolean isSaveToDisk()
    throws NotesException
public void setSaveToDisk(boolean flag)
    throws NotesException

Legal values

  • true (default) if the item is saved when the document is saved
  • false if the item is not saved when the document is saved

Usage

If you mark an existing item as not to be saved, it disappears from storage the next time you save the document.

Example