IStandardDimension.Blocks

Syntax

Blocks: IStandardDimBlocks;

Description

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

Example

Sub UserProc;
Var
    MB: IMetabase;
    Dimens: IStandardDimension;
    DimBlocks: IStandardDimBlocks;
    i: Integer;
Begin
    MB:=MetabaseClass.Active;
    Dimens:=MB.ItemById("TAB_DIM").Bind As IStandardDimension;
    DimBlocks:=Dimens.Blocks;
    i:=DimBlocks.Count;
End Sub UserProc;

After executing the example the "i" variable contains the number of dictionary blocks. Table dictionary identifier: TAB_DIM.

See also:

IStandardDimension