IDimInstance.Indexes

Syntax

Indexes: IDimIndexesInstance;

Description

The Indexes property returns an object that contains a collection of dictionary indexes.

Example

Sub Main;

Var

MB: IMetabase;

Dimen: IDimInstance;

Indxs: IDimIndexesInstance;

i: Integer;

Begin

MB:=MetabaseClass.Active;

Dimen:=MB.ItemById("D_TO").Open(Null) As IDimInstance;

Indxs:=Dimen.Indexes;

If Indxs.Count<>0 Then

i:=Indxs.Item(0).Index.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. Repository object identifier: D_TO.

See also:

IDimInstance