IDimIndexes.Count

Syntax

Count: Integer;

Description

The Count property returns the number of dictionary indexes.

Example

Sub Main;

Var

MB: IMetabase;

DimModel: IDimensionModel;

Index: IDimIndexes;

i: Integer;

Begin

MB:=MetabaseClass.Active;

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

Index:=DimModel.Indexes;

i:=Index.Count;

End Sub Main;

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

See also:

IDimIndexes