CommonClassName(MetabaseClass: MetabaseObjectClass; [CasePlural: NameCasePlural = 0]): String;
MetabaseClass. Object class.
CasePlural. The case, in which the name should be obtained.
The CommonClassName property returns a name of the specified class of the repository object in the given case.
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: