ApplyObject(Index: MetabaseSpecialObject): Boolean;
Index. Special object type.
The ApplyObject property determines whether a special object sent by input parameter is included in update.
If the property is set to True, the specified special object will be included in the update.
Executing the example requires the Update.pef update file in the root of the C disc.
Sub UserProc;
Var
Mb: IMetabase;
Update: IMetabaseUpdate;
SpecialObjNode: IMetabaseUpdateSpecialObjectsNode;
Begin
MB := MetabaseClass.Active;
Update := Mb.CreateUpdate;
Update.LoadFromFileNF("C:\Update.pefx");
SpecialObjNode := Update.SpecialObjectsNode;
SpecialObjNode.ApplyObject(MetabaseSpecialObject.SharedParams) := True;
Update.SaveToFileNF("C:\Update.pefx");
End Sub UserProc;
After executing the example the special object that is global variables is added to the update loaded from the file. Then the update is saved.
See also: