Bind(Key: Integer): IMetabaseObject;
Key is a repository object key.
The Bind method returns structure of the repository object, which key is passed by the Key input parameter.
The method returns Null if an object with the specified key does not exist.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Name: String;
Begin
MB := MetabaseClass.Active;
MObj := MB.Bind(345);
Name := MObj.Name;
End Sub Main;
After executing the example the Name variable contains a name of the repository object, which key is "345".
See also: