Add method: Level collection

Syntax

Add(LevelName)

Description

The Add method adds a new level called LevelName to the database. The specified level must be a new level, that is, it cannot exist in the database. LevelName takes a string value.

Note:

LevelName must be 8 characters or less.

If no levels currently exist in the tree, the level is added at the top level. If levels already exist in the tree, the new level is added as the last level. You can change the level number of a level using the Number property.

If the new level is the first level, the AllValuesAudit property is automatically set to True.

The new level is not added to the database until the tree is explicitly saved.

This method returns a reference to the new level object.