IStandardDimLevels.Count

Syntax

Count: Integer;

Description

The Count property returns the number of levels in table dictionary.

Example

Sub Main;

Var

MB: IMetabase;

Dim: IStandardDimension;

DimLevels: IStandardDimLevels;

i: Integer;

Begin

MB:=MetabaseClass.Active;

Dim:=MB.ItemById("TAB_DIM").Bind As IStandardDimension;

DimLevels:=Dim.Levels;

i:=DimLevels.Count;

End Sub Main;

After executing the example the "i" variable contains the number of dictionary levels. Table dictionary identifier: TAB_DIM.

See also:

IStandardDimLevels