IMetabaseClass.CommonClassName

Syntax

CommonClassName(MetabaseClass: MetabaseObjectClass; [CasePlural: NameCasePlural = 0]): String;

Parameters

MetabaseClass. Object class.

CasePlural. The case, in which the name should be obtained.

Description

The CommonClassName property returns a name of the specified class of the repository object in the given case.

Example

Sub UserProc;
Begin
    Debug.WriteLine(MetabaseClass.CommonClassName(
        MetabaseObjectClass.KE_CLASS_FOLDER,
        NameCasePlural.Accusative));
End Sub UserProc;

After executing the example the name of the class that implements repository folders in accusative case is displayed in the development environment console, that is, "folder".

See also:

IMetabaseClass