IDimBlock.Indexes

Syntax

Indexes: IDimIndexes;

Description

The Indexes property returns object that contains a collection of dictionary block indexes.

Example

Sub Main;

Var

MB: IMetabase;

DimModel: IDimensionModel;

DimBlocks: IDimBlocks;

DimBlock: IDimBlock;

Index: IDimIndexes;

i: Integer;

Begin

MB:=MetabaseClass.Active;

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

DimBlocks:=DimModel.Blocks;

DimBlock:=DimBlocks.Item(0);

Index:=DimBlock.Indexes;

i:=Index.Count;

End Sub Main;

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

See also:

IDimBlock