IDimInstance.Elements

Syntax

Elements: IDimElements;

Description

The Elements property returns a collection of elements of a dictionary instance.

Example

Sub Main;

Var

MB: IMetabase;

Dimen: IDimInstance;

Elements: IDimElements;

i: Integer;

Begin

MB:=MetabaseClass.Active;

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

Elements:=Dimen.Elements;

i:=Elements.Count;

End Sub Main;

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

See also:

IDimInstance