IMetabaseObjectDescriptor.ClassId

Syntax

ClassId: Integer;

ClassId: integer;

Description

The ClassId property returns an identifier of the repository object class.

Comments

To check value of this property, use the MetabaseObjectClass enumeration.

Example

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    Desc: IMetabaseObjectDescriptor;
    S: Integer;
Begin
    MB := MetabaseClass.Active;
    Desc := Mb.ItemById("obj_1111");
    S := Desc.ClassId;
End Sub UserProc;
Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Desc: IMetabaseObjectDescriptor;
    S: Integer;
Begin
    MB := Params.Metabase;
    Desc := Mb.ItemById["obj_1111"];
    S := Desc.ClassId;
End Sub;

After executing this example the identifier of the class of objects of the metadata base is contained in the "S" variable.

See also:

IMetabaseObjectDescriptor