IDimBlockInstance.BlockKey

Syntax

BlockKey: Integer;

Description

The BlockKey property returns key of dictionary block.

Example

Sub Main;

Var

MB: IMetabase;

Dimen: IDimInstance;

Blocks: IDimBlocksInstance;

BlockInst: IDimBlockInstance;

i: Integer;

Begin

MB:=MetabaseClass.Active;

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

Blocks:=Dimen.Blocks;

BlockInst:=Blocks.Item(0);

i:=BlockInst.BlockKey;

End Sub Main;

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

See also:

IDimBlockInstance