IDimInstance.Blocks

Syntax

Blocks: IDimBlocksInstance;

Description

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

Example

Sub Main;

Var

MB: IMetabase;

Dimen: IDimInstance;

Blocks: IDimBlocksInstance;

i: Integer;

Begin

MB:=MetabaseClass.Active;

Dimen:=MB.ItemById("D_TO").Open(Null) As IDimInstance;

Blocks:=Dimen.Blocks;

i:=Blocks.Count;

End Sub Main;

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

See also:

IDimInstance