Block(Element: Integer): IDimBlockInstance;
Element — index of dictionary element.
The Block property returns object that contains dictionary block which includes element with the Element index.
Sub Main;
Var
MB: IMetabase;
Dimen: IDimInstance;
Elem: IDimElements;
Block: IDimBlockInstance;
s: String;
Begin
MB:=MetabaseClass.Active;
Dimen:=MB.ItemById("D_TO").Open(Null) As IDimInstance;
Elem:=Dimen.Elements;
Block:=Elem.Block(89);
s:=Block.Block.Name;
End Sub Main;
After executing the example the "s" variable contains name of dictionary block containing the 89th element. Repository object identifier: D_TO.
See also: