IUserDimOrder.Attribute

Syntax

Attribute: IUserDimAttribute;

Description

The Attribute property returns properties of the attribute by which calculated dictionary is sorted.

Example

Sub UserProc;
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 UserProc;

After executing the example the "s" variable contains The first attribute ID, by which the calculated dictionary is sorted.

See also:

IUserDimOrder