IMetabaseObjectDescriptor.Name

Syntax

Name: String;

Name: string;

Description

The Name property determines a name of the object for the current repository language.

Example

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;
Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Obj: IMetabaseObjectDescriptor;
Begin
    MB := Params.Metabase;
    Obj := MB.ItemById["ObjTest"].EditDescriptor();
    Obj.Name := "Multilingual object";
    Obj.SaveDescriptor();
End Sub;

After executing this example the name of object for the current repository language is changed.

See also:

IMetabaseObjectDescriptor