IAuditFilterObjects.Count

Syntax

Count: Integer;

Description

The Count property returns the number of objects in collection.

Example

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    FilCon: IAuditFiltersContainer;
    Objs: IAuditFilterObjects;
Begin
    FilCon := New AuditFiltersContainer.Create;
    FilCon.Load;
    Objs := FilCon.Filters;
    Debug.WriteLine(Objs.Count);
End Sub UserProc;

After executing the example the number of filters, that are stored in the container loaded from file by default, are displayed in console window.

See also:

IAuditFilterObjects