CreateViewNavMaxLevel (NotesView - LotusScript®)

Creates a view navigator for all entries in a view down to a specified level.

Note: This method is new with Release 5.0.2b.
Note: This method is supported in COM only.

Defined in

NotesView

Syntax

Set notesViewNavigator = notesView .CreateViewNavMaxLevel( level& [, cacheSize& ] )

Parameters

level&

Long. The maximum level of navigation 0 (top level) through 30 (default).

cacheSize&

Long. Optional. The size of the navigator cache in view entries. Legal values are 0 (no cache) through 128 (default).

Return value

notesViewNavigator

A NotesViewNavigator object. The new view navigator.

Usage

The entries in the navigator are all the entries in the view at levels 0 through the specified level.

An empty view results in an empty navigator. All navigation methods return null.

The cache enhances performance for iterative processing of entries using the navigation methods that do not take a parameter.

Example