Count: Integer;
The Count property returns the number of objects in collection.
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: