LOTUSSCRIPT/COM/OLE CLASSES


GetNth method
Example

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&


Return value

notesViewEntry


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.

Language cross-reference

getNth method in Java ViewNavigator class

Example
See Also