Name: IUserDimAttribute;
The Name property determines dictionary attribute whose function is Name.
Sub Main;
Var
MB: IMetabase;
UsDim: IUserDimension;
UsDimAts: IUserDimAttributes;
UsDimAttr: IUserDimAttribute;
i: Integer;
Begin
MB:=MetabaseClass.Active;
UsDim:=MB.ItemById("USER_DIM").Bind As IUserDimension;
UsDimAts:=UsDim.Attributes;
UsDimAttr:=UsDimAts.Name;
i:=UsDimAttr.Key;
End Sub Main;
After executing the example the "i" variable contains key attribute of the calculated dictionary that determines ID. Dictionary identifier: USER_DIM.
See also: