IUserDimension.Levels

Syntax

Levels: IUserDimLevels;

Description

The Levels property returns an object that contains a collection of dictionary levels.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

UsDim: IUserDimension;

Begin

MB:=MetabaseClass.Active;

MObj:=MB.ItemById("USER_DIM").Edit;

UsDim:=MObj As IUserDimension;

UsDim.Levels.Add;

MObj.Save;

End Sub Main;

After executing the example one level in the calculated dictionary is added. Dictionary identifier: USER_DIM.

See also:

IUserDimension