JAVA/CORBA クラス


findNthElement メソッド

現在の位置を、同じタイプの要素内で指定された位置にある要素に移動します。

定義位置

RichTextNavigator

構文

public boolean findNthElement(int type)
   throws NotesException

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

パラメータ

int type

int occurrence
戻り値

boolean 型

使用法

指定された位置が存在しない場合、このメソッドは false を返します。

このメソッドを今後のナビゲーションのベースとして使用することができます。たとえば、オカレンスが明示的に指定された場合、findNextElement と共に使用できます。

クロスリファレンス

LotusScript NotesRichTextNavigator クラスの FindNthElement メソッド


関連項目