Attributes: IStandardDimIndexAttributes;
The Attributes property returns an object containing the collection of attributes on which the index is based.
Sub Main;
Var
MB: IMetabase;
Dim: IStandardDimension;
DimInds: IStandardDimIndexes;
DimIndex: IStandardDimIndex;
i: Integer;
Begin
MB:=MetabaseClass.Active;
Dim:=MB.ItemById("TAB_DIM").Bind As IStandardDimension;
DimInds:=Dim.Indexes;
If DimInds.Count<>0 Then
DimIndex:=DimInds.Item(0);
i:=DimIndex.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. Table dictionary identifier: TAB_DIM.
See also: