GetNth (NotesViewNavigator - LotusScript®)

Returns the entry at a specified position in the top level of a view navigator.

Defined in

NotesViewNavigator

Syntax

Set notesViewEntry = notesViewNavigator .GetNth( index& )

Parameters

index&

Long. Position of the entry, where 1 is the first entry.

Return value

notesViewEntry

NotesViewEntry. The specified top-level entry. Returns Nothing if there is no such entry.

Usage

This method moves the current pointer to the retrieved entry unless the return value is null.

If you do not have Reader access to a document in a view, this method returns the next document to which you have reader access.

Using GetNth to iterate through a loop is strongly discouraged for performance reasons. See GetFirst, GetFirstDocument, GetLast, GetLastDocument, GetNext, GetNextCategory, GetNextDocument, GetNextSibling, GetPrev, GetPrevCategory, GetPrevDocument, and GetPrevSibling for the preferred loop structure.

Example