Label: String;
The Label property determines a label of the update object.
Sub Main;
Var
MB: IMetabase;
Update: IMetabaseUpdate;
UFN: IMetabaseUpdateFolderNode;
UN: IMetabaseUpdateNode;
s: String;
Begin
MB:=MetabaseClass.Active;
Update:=Mb.CreateUpdate;
Update.LoadFromFile("c:\update.pef");
UFN:=Update.RootFolder;
UN:=UFN.Item(0);
s:=UN.Label;
End Sub Main;
After executing the example, the s variable will contain a label of the first update object. The update is loaded from the Update.pef file.
See also: