IDimensionModel.Blocks

Syntax

Blocks: IDimBlocks;

Description

The Blocks property returns an object that contains a collection of dictionary blocks.

Example

Sub UserProc;
Var
    MB: IMetabase;
    DimModel: IDimensionModel;
    DimBlocks: IDimBlocks;
    i: Integer;
Begin
    MB:=MetabaseClass.Active;
    DimModel:=MB.ItemById("D_TO").Bind As IDimensionModel;
    DimBlocks:=DimModel.Blocks;
    i:=DimBlocks.Count;
End Sub UserProc;

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

See also:

IDimensionModel