次のスクリプトは、アウトラインエントリのレベルを表示します。
Dim session As New NotesSession
Dim db As NotesDatabase
Dim outline As NotesOutline
Dim oe As NotesOutlineEntry
Dim level As Long
Set db = session.CurrentDatabase
Set outline = db.GetOutline("products")
Set oe = outline.GetFirst()
Messagebox "Level: " & oe.Level