例: GetAllReadEntries method

次のスクリプトは、現在のデータベースの [By Category] ビューのすべての既読エントリを取得して [Old] フォルダに入れます。

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")
Set vc = view.GetAllReadEntries()
Call vc.PutAllInfolder("Old")