LOTUSSCRIPT/COM/OLE CLASSES


GetNthDocument method
Example

Given a position number, returns the document at that position in a collection.

Defined in

NotesDocumentCollection

Syntax

Set notesDocument = notesDocumentCollection.GetNthDocument( n& )

Parameters

n&


Return value

notesDocument


Usage

Using GetNthDocument to iterate through a loop is strongly discouraged for performance reasons. See GetDocument, GetFirstDocument, GetLastDocument, GetNextDocument, and GetPrevDocument for the preferred loop structure.

Language cross-reference

getNthDocument method in Java DocumentCollection class

Example
See Also