IDimElementArray.Elements

Syntax

Elements: IDimElements;

Description

The Elements property returns an object containing all dictionary elements.

Example

Sub Main;

Var

MB: IMetabase;

Dimen: IDimInstance;

ElemArr: IDimElementArray;

Elem: IDimElements;

Begin

MB:=MetabaseClass.Active;

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

ElemArr:=Dimen.Blocks.Item(0).Elements;

Elem:=ElemArr.Elements;

End Sub Main;

After executing the example the Elem variable contains all dictionary elements.

See also:

IDimElementArray