IMetabaseObjectName.Description

Syntax

Description: String;

Description

The Description property determines a note (description) for the object name.

Example

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 29.10.2009";
    Obj.SaveDescriptor
End Sub UserProc;

After executing the example, a name in Spanish is added for the object.

See also:

IMetabaseObjectName