clearCollection (NotesNoteCollection - JavaScript)

Clears (invalidates) a note collection build.

Defined in

NotesNoteCollection

Syntax

clearCollection() : void

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.