IUserDimension.Attributes

Syntax

Attributes: IUserDimAttributes;

Description

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

Example

Sub Main;

Var

MB: IMetabase;

UsDim: IUserDimension;

UsDimAtr: IUserDimAttributes;

i: Integer;

Begin

MB:=MetabaseClass.Active;

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

UsDimAtr:=UsDim.Attributes;

i:=UsDimAtr.Count;

End Sub Main;

After executing the example the "i" variable contains the number of calculated dictionary attributes. Dictionary identifier: USER_DIM.

See also:

IUserDimension