IDimLevels.Count

Syntax

Count: Integer;

Description

The Count property returns the number of dictionary levels.

Example

Sub Main;

Var

MB: IMetabase;

DimModel: IDimensionModel;

Levels: IDimLevels;

i: Integer;

Begin

MB:=MetabaseClass.Active;

DimModel:=MB.ItemById("D_TO").Bind As IDimensionModel;

Levels:=DimModel.Levels;

i:=Levels.Count;

End Sub Main;

After executing the example the "i" variable contains the number of dictionary levels. Repository object identifier: D_TO.

See also:

IDimLevels