IDbClasses.Item

Syntax

Item(Index: Integer): IDbClass;

Parameters

Index is an index of the object class.

Description

The Item property returns information about the object class, the index of which is passed as the Index input parameter.

Example

Sub Main;

Var

Man: IMetabaseManager;

Classes: IDbClasses;

Cl: IDbClass;

i: Integer;

Begin

Man := MetabaseManagerFactory.Active;

Classes := Man.Classes;

For i := 0 To Classes.Count - 1 Do

Cl := Classes.Item(i);

Debug.WriteLine("Name: " + Cl.Name + "; Identifier: " + Cl.Id + "; Key: " + Cl.Key.ToString);

End For;

End Sub Main;

After executing the example the information about all object classes available in the platform will be displayed in the development environment console.

See also:

IDbClasses