The Id property determines table dictionary attribute whose function is to show ID.
Sub Main;
Var
MB: IMetabase;
Dimens: IStandardDimension;
DimAtrrs: IStandardDimAttributes;
DimAtribut: IStandardDimAttribute;
s: String;
Begin
MB:=MetabaseClass.Active;
Dimens:=MB.ItemById("TAB_DIM").Bind As IStandardDimension;
DimAtrrs:=Dimens.Attributes;
DimAtribut:=DimAtrrs.Id;
s:=DimAtribut.Name;
End Sub Main;
After executing the example the "s" variable contains the name of the dictionary attribute that determines ID. Table dictionary identifier: TAB_DIM.
See also: