IMetabaseClass.CommonClassName

Syntax

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

Parameters

MetabaseClass - object class.

CasePlural - case in which it is necessary to get the name.

Description

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

Example

Sub Main;

Begin

Debug.WriteLine(MetabaseClass.CommonClassName(MetabaseObjectClass.KE_CLASS_FOLDER, NameCasePlural.Accusative));

End Sub Main;

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