ClassId: Integer;
The ClassId property returns an identifier of the repository object class.
Use the MetabaseObjectClass enumeration to check the value of this property.
Sub Main;
Var
MB:IMetabase;
Desc:IMetabaseObjectDescriptor;
S:Integer;
Begin
MB:=MetabaseClass.Active;
Desc:=Mb.ItemById("obj111");
S:=Desc.ClassId;
End Sub Main;
After executing this example the identifier of the class of objects of the metadata base is contained in the "S" variable.
See also: