IDimElementGroupPrimitive.Type

Syntax

Type: SelectionGroupType;

Description

The Type property returns type for primitive of dictionary element group.

Example

Sub Main;

Var

MB: IMetabase;

ElemGroup: IDimElementGroup;

ElemGroupPrim: IDimElementGroupPrimitive;

i: Integer;

Begin

MB:=MetabaseClass.Active;

If MB.ItemById("D_TO").Children.Count<>0 Then

ElemGroup:=MB.ItemById("D_TO").Children.Item(0).Bind As IDimElementGroup;

ElemGroupPrim:=ElemGroup.Item(0);

i:=ElemGroupPrim.Type As Integer;

End If;

End Sub Main;

After executing the example the "i" variable contains type of the first primitive of the element group converted to integer.

See also:

IDimElementGroupPrimitive