IDimAttributes.Orders

Syntax

Orders: IDimOrders;

Description

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

Example

Sub Main;

Var

MB: IMetabase;

DimModel: IDimensionModel;

DimAttrs: IDimAttributes;

DimOrd: IDimOrders;

i: Integer;

Begin

MB := MetabaseClass.Active;

DimModel := MB.ItemById("D_TO").Bind As IDimensionModel;

DimAttrs := DimModel.Attributes;

DimOrd := DimAttrs.Orders;

i := DimOrd.Count;

End Sub Main;

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

See also:

IDimAttributes