CommonClassName(MetabaseClass: MetabaseObjectClass; [CasePlural: NameCasePlural = 0]): String;
MetabaseClass - object class.
CasePlural - case in which it is necessary to get the name.
The CommonClassName property returns a name of the specified class of the repository object in the given case.
Sub Main;
Begin
Debug.WriteLine(MetabaseClass.CommonClassName(MetabaseObjectClass.KE_CLASS_FOLDER, NameCasePlural.Accusative));
End Sub Main;
After executing this 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: