例: Columns property

次のスクリプトは、walnut.nsf のビューにある各列のタイトルを表示します。NotesViewColumn クラスの Title プロパティを使用します。

server$ = "Montreal"
dbfile$ = "corpcomm¥walnut.nsf"
Dim db As New NotesDatabase( server$, dbfile$ )
Dim view As NotesView
Set view = db.GetView( "By Date¥Ascending By Main Topic" )
Forall c In view.Columns
  Messagebox ( c.Title )
End Forall