例: RemoveAll method (NotesViewEntryCollection - LotusScript®)

次のスクリプトは、[By Category] ビューの「December」エントリに関連付けられたすべての文書を削除します。

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("December")
Call vc.RemoveAll(True)