IUserDimAttributes.Count

Syntax

Count: Integer;

Description

The Count property returns the number of attributes in calculated dictionary.

Example

Sub UserProc;
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 UserProc;

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

See also:

IUserDimAttributes