Item(Index: Variant): IStandardDimLevel;
Index. Level index.
The Item property returns an object containing table dictionary level.
Sub Main;
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 Main;
After executing the example the "s" variable contains the name of the first dictionary level. Table dictionary identifier: TAB_DIM.
See also: