Description: String;
The Description property determines a comment for object name.
The example requires that the repository contains an object with the Object identifier.
Add a link to the Metabase system assembly.
Sub UserProc;
Var
Obj: IMetabaseObjectDescriptor;
NamesL: IMetabaseObjectNames;
NameLocale: IMetabaseObjectName;
Begin
Obj := MetabaseClass.Active.ItemById("Object").EditDescriptor;
NamesL := Obj.Names;
NameLocale := NamesL.Add(LocaleCodeID.Spanish_Argentina);
NameLocale.Name := "Escenario";
NameLocale.Description := "Created on 10/29/2009";
Obj.SaveDescriptor
End Sub UserProc;
After executing the example, a name in Spanish is added for the object.
See also: