3.50 Filters

A collection of Filter objects that represent the saved filters associated with an account.

3.50.1 Properties

The following table lists properties along with their access and descriptions.

Property

Access

Description

Application

R/O

Application. The Application object.

Count

R/O

Long. The number of objects in this collection.

_NewEnum

R/O

Enumeration object. Implements IEnumVARIANT. For Windows only.

Parent

R/O

Account object. The Account object that owns this collection.

3.50.2 Methods

Filter Add(String Name, String Expression)

Creates a new saved filter with the given Name and Expression. The description of the filter can be set by accessing the returned Filter object.

Filter Item(VARIANT Index)

DEFAULT. Returns the Filter object specified by Index. Index may be a Long or a string. If Index is a Long, returns the Filter object located at the given Index in the collection. Valid indexes are 1 through Count, inclusive. Throws an exception if the Index is outside of this range. If Index is a string, returns the Filter object whose Name is equal to Index.

Refresh()

Forces this Filters collection to recursively refresh its contained Filter objects.