.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

JAVA/CORBA CLASSES


getNthDocument method
Example

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

Defined in

DocumentCollection

Syntax

public Document getNthDocument(int n)
   throws NotesException

Parameters

int n


Return value

Document


Usage

Collections are renumbered when deletions occur so that the positions of documents after the deleted document change.

Using getNthDocument in conjunction with getCount to iterate through a loop is strongly discouraged for performance reasons. See getNextDocument and getPrevDocument for the preferred loop structures.

Language cross-reference

GetNthDocument method in LotusScript NotesDocumentCollection class

Example
See Also