例: ColumnCount property (NotesView - LotusScript®)

次のスクリプトは、現在のデータベースの [By Category] ビューにある列の数を表示します。

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
Messagebox "View column count: " & view.ColumnCount