IAuditFiltersContainer.Filters

Syntax

Filters: IAuditFilterObjects;

Filters: Prognoz.Platform.Interop.Metabase.IAuditFilterObjects;

Description

The Filters property returns filters contained by the container.

Example

Executing the example requires that container has several filters.

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    FilCon: IAuditFiltersContainer;
Begin
    FilCon := New AuditFiltersContainer.Create;
    FilCon.Load;
    Debug.WriteLine(FilCon.Filters.Count);
End Sub UserProc;
Public Shared Sub Main(Params: StartParams);
Var
    FilCon: IAuditFiltersContainer;
Begin
    FilCon := New AuditFiltersContainer.Create();
    FilCon.Load();
    System.Diagnostics.Debug.WriteLine(FilCon.Filters.Count);
End Sub;

After executing the example, the number of filters, that are in a container, is displayed in a console window.

See also:

IAuditFiltersContainer