次のスクリプトは、[By Category] ビューの「Cars」ビューエントリが文書かどうかを調べます。
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim entry As NotesViewEntry
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set entry = view.GetEntryByKey("Cars")
If entry.IsDocument Then
Messagebox "This entry is a document."
Else
Messagebox "This entry is not a document."
End If