IStandardDimAttributes.Orders

Syntax

Orders: IStdDimOrders;

Description

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

Example

Sub UserProc;
Var
    MB: IMetabase;
    Dimens: IStandardDimension;
    DimAttrs: IStandardDimAttributes;
    DimOrd: IStdDimOrders;
    i: Integer;
Begin
    MB := MetabaseClass.Active;
    Dimens := MB.ItemById("TAB_DIM").Bind As IStandardDimension;
    DimAttrs := Dimens.Attributes;
    DimOrd := DimAttrs.Orders;
    i := DimOrd.Count;
End Sub UserProc;

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

See also:

IStandardDimAttributes