Id: String;
The Id property determines an identifier of the repository object.
NOTE. If the identifier is changed, the check on the correspondence with the specified format of identifiers is performed.
Executing the example requires an object with the 143198 key.
Add a link to the Metabase system assembly.
Sub UserProc;
Var
MB: IMetabase;
Desc: IMetabaseObjectDescriptor;
S: String;
Begin
MB := MetabaseClass.Active;
Desc := Mb.Item(143198);
S := Desc.Id;
End Sub UserProc;
After executing the example the "S" variable contains identifier of the object with 143198 key.
See also: