LOTUSSCRIPT/COM/OLE CLASSES


GetNthEntry method
Example

Given a position number, gets the entry at that position in a view collection.

Defined in

NotesViewEntryCollection

Syntax

Set notesViewEntry = notesViewEntryCollection.GetNthEntry( index& )

Parameters

index&


Return value

notesViewEntry


Usage

View collections are renumbered when deletions occur so that the positions of entries after the deleted entry change.

Using getNthEntry to iterate through a loop is strongly discouraged for performance reasons. See GetFirstEntry, GetLastEntry, GetNextEntry, and GetPrevEntry for the preferred loop structure.

Language cross-reference

getNthEntry method in Java ViewEntryCollection class

Example