clearCollection (NoteCollection - Java)

Clears (invalidates) a note collection build.

Defined in

NoteCollection

Syntax

public void clearCollection()
   throws NotesException

Usage

Clearing renders a built note collection unusable. The collection must be built again.

Clearing a note collection does not change SelectionFormula, SinceTime, and the Select properties. Use selectAllNotes to reinitialize the Select properties. Reinitialize SelectionFormula and SinceTime individually.

Example