SpecialObjectsNode: IMetabaseUpdateSpecialObjectsNode;
The SpecialObjectsNode property returns the object that determines parameters of special objects update.
Executing the example requires the C:\Update.pef update file.
Add a link to the Metabase system assembly.
Sub UserProc;
Var
MB: IMetabase;
Update: IMetabaseUpdate;
SpecialObjNode: IMetabaseUpdateSpecialObjectsNode;
Begin
MB := MetabaseClass.Active;
Update := Mb.CreateUpdate;
Update.LoadFromFile("C:\Update.pef");
SpecialObjNode := Update.SpecialObjectsNode;
SpecialObjNode.ApplyObject(MetabaseSpecialObject.SharedParams):= True;
Update.SaveToFileNF("C:\Update.pefx");
End Sub;
After executing the example the special object that is global variables is added to the update loaded from the C:\Update.pef file. Then the update is saved.
See also: