getFirstDocument (NotesDocumentCollection - JavaScriptâ„¢)

Gets the first document in a collection.

Defined in

NotesDocumentCollection

Syntax

getFirstDocument() : NotesDocument
Return value Description
NotesDocument The first document in the collection. If there are no documents in the collection, returns null.

Examples

See getNextDocument.

Language cross-reference

GetFirstDocument method in LotusScript® NotesDocumentCollection class

getFirstDocument method in Java DocumentCollection class