Count: Integer;
The Count property returns the number of dictionary indexes.
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: