LOTUSSCRIPT/COM/OLE CLASSES


NotesNoteCollection class
Example

Represents a collection of Domino design and data elements in a database.

Note This class is new with Release 6.

Containment

Contained by: NotesDatabase

Properties

Count

LastBuildTime

Parent

SelectACL

SelectActions

SelectAgents

SelectDatabaseScript

SelectDataConnections

SelectDocuments

SelectFolders

SelectForms

SelectFrameSets

SelectHelpAbout

SelectHelpIndex

SelectHelpUsing

SelectIcon

SelectImageResources

SelectionFormula

SelectJavaResources

SelectMiscCodeElements

SelectMiscFormatElements

SelectMiscIndexElements

SelectNavigators

SelectOutlines

SelectPages

SelectProfiles

SelectReplicationFormulas

SelectScriptLibraries

SelectSharedFields

SelectStyleSheetResources

SelectSubforms

SelectViews

SinceTime

Methods

Add

BuildCollection

ClearCollection

GetFirstNoteID

GetNextNoteID

Intersect

Remove

SelectAllAdminNotes

SelectAllCodeElements

SelectAllDataNotes

SelectAllDesignElements

SelectAllFormatElements

SelectAllIndexElements

SelectAllNotes

Creation and access

Use CreateNoteCollection in NotesDatabase to create a NotesNoteCollection object. The object represents the notes in the containing database. CreateNoteCollection initializes all Select properties to True or False depending on the parameter specification.

Change the Select properties as desired to specify the content of the collection. You can set the Select properties directly, or in groups by calling the Select methods. Further modify the collection as desired with the SelectionFormula and SinceTime properties.

Use BuildCollection to compile the collection. You must build before the collection can be used.

Usage

A Domino database consists of design and data elements known internally as "notes." The NoteCollection class represents all or a subset of the notes in a database.

A NotesNoteCollection object can be used as input to NotesDXLExporter.

Example
See Also