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 console window displays the number of filters that are stored in the container loaded from file by default.
See also: