Name: String;
The Name property determines a name of the object for the current repository language.
Executing the example requires that the repository contains an object with the ObjTest identifier.
Add a link to the Metabase system assembly.
Sub UserProc;
Var
MB: IMetabase;
Obj: IMetabaseObjectDescriptor;
Begin
MB := MetabaseClass.Active;
Obj := MB.ItemById("ObjTest").EditDescriptor;
Obj.Name := "Multilingual object";
Obj.SaveDescriptor;
End Sub UserProc;
After executing the example the name of object for the current repository language is changed.
See also: