IStandardDimLevels.Item

Syntax

Item(Index: Variant): IStandardDimLevel;

Parameters

Index.Level index.

Description

The Item property returns an object containing table dictionary level.

Example

Sub UserProc;
Var
    MB: IMetabase;
    Dim: IStandardDimension;
    DimLevels: IStandardDimLevels;
    DimLevel: IStandardDimLevel;
    s: String;
Begin
    MB:=MetabaseClass.Active;
    Dim:=MB.ItemById("TAB_DIM").Bind As IStandardDimension;
    DimLevels:=Dim.Levels;
    If DimLevels.Count<>0 Then
        DimLevel:=DimLevels.Item(0);
        s:=DimLevel.Name;
    End If;
End Sub UserProc;

After executing the example the "s" variable contains the name of the first dictionary level. Table dictionary identifier: TAB_DIM.

See also:

IStandardDimLevels