IDimInstance.Blocks

Syntax

Blocks: IDimBlocksInstance;

Description

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

Example

Sub UserProc;
Var
    MB: IMetabase;
    Dimen: IDimInstance;
    Blocks: IDimBlocksInstance;
    i: Integer;
Begin
    MB:=MetabaseClass.Active;
    Dimen:=MB.ItemById("D_TO").Open(NullAs IDimInstance;
    Blocks:=Dimen.Blocks;
    i:=Blocks.Count;
End Sub UserProc;

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

See also:

IDimInstance