Attribute: IUserDimAttribute;
The Attribute property returns properties of the attribute by which calculated dictionary is sorted.
Sub Main;
Var
MB: IMetabase;
UsDim: IUserDimension;
UsDimAtr: IUserDimAttributes;
DimOrd: IUserDimOrders;
Order: IUserDimOrder;
s: String;
Begin
MB := MetabaseClass.Active;
UsDim := MB.ItemById("USER_DIM").Bind As IUserDimension;
UsDimAtr := UsDim.Attributes;
DimOrd := UsDimAtr.Orders;
Order := DimOrd.Item(0);
s := Order.Attribute.Id;
End Sub Main;
After executing the example the "s" variable contains The first attribute ID, by which the calculated dictionary is sorted.
See also: