Columns (NotesView - LotusScript®)

Read-only. All the columns in a view.

Defined in

NotesView

Data type

Array of NotesViewColumn objects

Syntax

To get: notesViewColumnArray = notesView .Columns

Return value

notesViewColumnArray

Array of NotesViewColumn objects declared as type Variant. The order of NotesViewColumn objects in the array corresponds to the order of columns in the view, from left to right, including hidden columns. The array has a base of 0.

Usage

To set the value of an individual NotesViewColumn object, you need to access the array elements individually. For example, to get the first element in the array returned from the NotesView object view, you could do the following:

Dim column as NotesViewColumn
Set column = view.Columns( 0 )

Example