次の例は、ビュー内の最初の文書のすべての子孫に対してビューナビゲータを作成します。
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim doc As NotesDocument
Dim nav As NotesViewNavigato
Set db = session.CurrentDatabase
Set view = db.GetView("My View")
Set doc = view.GetFirstDocument
Set nav = view.CreateViewNavFromDescendants(doc)