LOTUSSCRIPT /COM/OLE のクラス
例:NotesViewEntryCollection クラス
1. 次のスクリプトは、[By Category] ビューの「Baseball」カテゴリにあるビューエントリのコレクションを取得し、PutAllInFolder メソッドを使用して [Sports] フォルダに入れます。
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim vc As NotesViewEntryCollection
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set vc = view.GetAllEntriesByKey("Baseball")
Call vc.PutAllInFolder("Sports")
2. 次のスクリプトは、GetNthEntry メソッドを使用してビューエントリコレクションから 3 番目のエントリを取得します。
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim entry As NotesViewEntry
Dim vc As NotesViewEntryCollection
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set vc = view.GetAllEntriesByKey("Books")
Set entry = vc.GetNthEntry(3)
関連項目
NotesViewEntryCollection クラス
用語集
フィードバック
ヘルプ
または
プロダクトユーザビリティ
ヘルプの使い方
すべてのヘルプ項目
用語集