IUserDimension.Levels

Syntax

Levels: IUserDimLevels;

Description

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

Example

Sub UserProc;
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 UserProc;

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

See also:

IUserDimension