Save;
The Save method saves an object.
Sub Main;
Var
FilCon: IAuditFiltersContainer;
Objs: IAuditFilterObjects;
Obj: IAuditFilterObject;
Begin
FilCon := New AuditFiltersContainer.Create;
FilCon.Load;
Objs := FilCon.Filters;
Obj := Objs.Item(0).Edit;
Obj.Description := "Description of a filter";
Obj.Save;
FilCon.SaveToFile("C:\Filter.xml");
End Sub Main;
After executing the example the description of the first filter of access protocol is changed. A container that contains this filter is saved in the file C:\Filter.xml.
See also: