LOTUSSCRIPT/COM/OLE CLASSES


AddDocument method
Example

Adds a document to a document collection.

Note This method is new with Release 5.

Defined in

NotesDocumentCollection

Syntax

Call notesDocumentCollection.AddDocument( document [, checkDups ] )

Parameters

document


checkDups

Note This parameter is for COM only. It is not implemented currently.


Usage

For sorted collections, the document will be appended. For unsorted collections, the document will be inserted using an internal algorithm. Sorted collections include all ViewEntryCollections and DocumentCollections created from FTSearch (including DocumentCollections modified by calling the FTSearch method on the collection). All other DocumentCollections are unsorted.

Language cross-reference

addDocument method in Java DocumentCollection class

Example