IDimSelectionSchemaPrimitive.Type

Syntax

Type: SelectionPrimitiveType;

Description

The Type property determines the type of dictionary selection scheme primitive.

Example

Sub Main;

Var

MB: IMetabase;

ObjDesc: IMetabaseObjectDescriptor;

DimSelSchema: IDimSelectionSchema;

SchemaPrimit: IDimSelectionSchemaPrimitive;

i: Integer;

Begin

MB:=MetabaseClass.Active;

ObjDesc:=MB.ItemById("TAB_DIM");

If ObjDesc.Children.Count<>0 Then

If ObjDesc.Children.Item(0).ClassId=1030 Then

DimSelSchema:=ObjDesc.Children.Item(0).Bind As IDimSelectionSchema;

SchemaPrimit:=DimSelSchema.Item(0);

i:=SchemaPrimit.Type;

End If;

End If;

End Sub Main;

After executing the example the "i" variable contains the type of the first selection schema primitive. Dictionary identifier: TAB_DIM.

See also:

IDimSelectionSchemaPrimitive