IDimLevelInstance.Level

Syntax

Level: IDimLevel;

Description

The Level property returns an object that contains structure of dictionary level.

Example

Sub Main;

Var

MB: IMetabase;

Dimen: IDimInstance;

Levels: IDimLevelsInstance;

Level: IDimLevelInstance;

Lev: IDimLevel;

s: String;

Begin

MB:=MetabaseClass.Active;

Dimen:=MB.ItemById("D_TO").Open(Null) As IDimInstance;

Levels:=Dimen.Levels;

Level:=Levels.Item(Levels.Count-1);

Lev:=Level.Level;

s:=Lev.Id;

End Sub Main;

After executing the example the "s" variable shows identifier of the last level of dictionary elements.

See also:

IDimLevelInstance