JAVA/CORBA クラス


getNextDocument メソッド

コレクション内にある現在の文書または指定された文書の、次の文書を取得します。

定義位置

DocumentCollection

構文

public Document getNextDocument()
   throws NotesException

public Document getNextDocument(Document doc)
   throws NotesException

パラメータ

Document doc


戻り値

文書


使用法

リモート (IIOP) 操作の場合、getNextDocument(Document doc) によってキャッシュが無効になるため、お勧めしません。

お勧めするループ構造は、getFirstDocument() とそれに続けて getNextDocument() を使用する方法で、getNextDocument() が null を返すまでループします。パフォーマンス上の理由により、ループ内での getNthDocument(int n) の使用は避けてください。

ループでは、各繰り返しごとに Document オブジェクトを再利用してください。オブジェクトの保存と復元を行う場合は、一時的な Document オブジェクトを使用します。

クロスリファレンス

LotusScript NotesDocumentCollection クラスの GetNextDocument メソッド

式言語の NavigateNextSelected @コマンド

式言語の NavNextSelected @コマンド


関連項目