LOTUSSCRIPT/COM/OLE CLASSES


AllDocuments property
Example

Read-only. All the documents in a database.

Defined in

NotesDatabase

Data type

NotesDocumentCollection

Syntax

To get: Set notesDocumentCollection = notesDatabase.AllDocuments

Return value

notesDocumentCollection


Usage

Since many databases contain large numbers of documents, you may use the FTSearch or Search methods instead of the AllDocuments property. Both methods return a smaller collection of documents that meet specific criteria. Using AllDocuments is, however, more efficient than using the Search method with an @All formula.

If the collection is empty, AllDocuments.Count is 0.

The database must be open to use this property.

Language cross-reference

AllDocuments in Java Database class

Example
See Also