FindById(Id: String): IMetabaseObjectParam;
Id - a repository object parameter identifier.
The FindById method searches parameters by the Id specified identifier.
In case of successful search the method returns parameters settings, otherwise it returns Null.
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: