Indexes: IStandardDimIndexes;
The Indexes property returns an object that contains a collection of table dictionary block indexes.
Sub Main;
Var
MB: IMetabase;
Dimens: IStandardDimension;
DimBlocks: IStandardDimBlocks;
DimBlock: IStandardDimBlock;
DimBlIndex: IStandardDimIndexes;
i: Integer;
Begin
MB:=MetabaseClass.Active;
Dimens:=MB.ItemById("TAB_DIM").Bind As IStandardDimension;
DimBlocks:=Dimens.Blocks;
DimBlock:=DimBlocks.Item(0);
DimBlIndex:=DimBlock.Indexes;
i:=DimBlIndex.Count;
End Sub Main;
After executing the example the "i" variable contains the number of indexes in the first dictionary block. Table dictionary identifier: TAB_DIM.
See also: