IUserDimAttributes.Orders

Syntax

Orders: IUserDimOrders;

Description

The Orders property returns a collection of attributes by which calculated dictionary should be sorted.

Example

Sub Main;

Var

MB: IMetabase;

UsDim: IUserDimension;

UsDimAtr: IUserDimAttributes;

DimOrd: IUserDimOrders;

i: Integer;

Begin

MB := MetabaseClass.Active;

UsDim := MB.ItemById("USER_DIM").Bind As IUserDimension;

UsDimAtr := UsDim.Attributes;

DimOrd := UsDimAtr.Orders;

i := DimOrd.Count;

End Sub Main;

After executing the example the "i" variable contains the number of attributes, the calculated dictionary is sorted by.

See also:

IUserDimAttributes