IAuditFiltersContainer.Append

Syntax

Append(Value: IAuditFiltersContainer);

Parameters

Value - the container, which filters have to be added.

Description

The Append method adds new filters to the container.

Example

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:

IAuditFiltersContainer