IMetabase.Bind

Syntax

Bind(Key: Integer): IMetabaseObject;

Parameters

Key is a repository object key.

Description

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.

Example

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:

IMetabase