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 メソッド


関連項目