Description: String;
The Description property determines a note (description) for the object name.
This example requires that the repository contains an object with the Object identifier.
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 September 29, 2009";
Obj.SaveDescriptor
End Sub UserProc;
After executing the example, a name in Spanish is added for the object.
See also: