Attributes: IUserDimIndexAttributes;
The Attributes property returns an object containing the collection of attributes on which the index is based.
Sub Main;
Var
MB: IMetabase;
UsDim: IUserDimension;
UsDimInds: IUserDimIndexes;
UsDimIndex: IUserDimIndex;
i: Integer;
Begin
MB:=MetabaseClass.Active;
UsDim:=MB.ItemById("USER_DIM").Bind As IUserDimension;
UsDimInds:=UsDim.Indexes;
If UsDimInds.Count<>0 Then
UsDimIndex:=UsDimInds.Item(0);
i:=UsDimIndex.Attributes.Count;
End If;
End Sub Main;
After executing the example the "i" variable shows the number of attributes by which the first dictionary index is created. Calculated dictionary identifier: USER_DIM.
See also: