IDimensionModel.Attributes

Syntax

Attributes: IDimAttributes;

Description

The Attributes property returns an object that contains a collection of dictionary attributes.

Example

Sub UserProc;
Var
    MB: IMetabase;
    DimModel: IDimensionModel;
    DimAtrr: IDimAttributes;
    i: Integer;
Begin
    MB:=MetabaseClass.Active;
    DimModel:=MB.ItemById("D_TO").Bind As IDimensionModel;
    DimAtrr:=DimModel.Attributes;
    i:=DimAtrr.Count;
End Sub UserProc;

After executing the example the "i" variable contains the number of dictionary attributes. Repository object identifier: D_TO.

See also:

IDimensionModel