JAVA/CORBA CLASSES


findNthElement method
Example

Moves the current position to the element at a specified position within elements of the same type.

Defined in

RichTextNavigator

Syntax

public boolean findNthElement(int type)
   throws NotesException

public boolean findNthElement(int type, int occurrence)
   throws NotesException

Parameters

int type

int occurrence
Return value

boolean

Usage

This method returns false if the specified position does not exist.

You can use this method as a basis for future navigation, for example, with findNextElement if the occurrence is explicitly specified.

Language cross-reference

FindNthElement method in LotusScript NotesRichTextNavigator class

Example
See Also