IMetabaseObjectParams.FindById

Syntax

FindById(Id: String): IMetabaseObjectParam;

Parameters

Id - a repository object parameter identifier.

Description

The FindById method searches parameters by the Id specified identifier.

Comments

In case of successful search the method returns parameters settings, otherwise it returns Null.

Example

Sub Main;

Var

MB: IMetabase;

Obj: IMetabaseObject;

Pars:IMetabaseObjectParams;

Par:IMetabaseObjectParam;

Name:string;

Begin

MB:=MetabaseClass.Active;

Obj:= MB.Item(MB.GetObjectKeyById("Test_table")).Edit;

Pars:=Obj.Params;

Par:=Pars.FindById("PARAM_TEST");

Name:=Par.Name;

End Sub Main;

After executing this example the "name" variable contains a name of a parameter with the PARAM_TEST identifier.

See also:

IMetabaseObjectParams