Append(Value: IAuditFiltersContainer);
Value - the container, which filters have to be added.
The Append method adds new filters to the container.
Executing the example requires the file "C:\Filter.xml" that contains a filter of access protocol.
Sub Main;
Var
FilCon, FilConDef: IAuditFiltersContainer;
Begin
FilCon := New AuditFiltersContainer.Create;
FilCon.LoadFromFile("C:\Filter.xml");
FilConDef := New AuditFiltersContainer.Create;
FilConDef.Load;
FilCon.Append(FilConDef);
FilCon.SaveToFile("C:\Copy.xml");
End Sub Main;
After executing the example filters from the FilConDef container are added to the FilCon container. The FilCon container is saved to the file C:\Copy.xml.
See also: