The Rules collection holds the Rule object.
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. The Account object that owns this collection. |
Creates a new rule with the given Name. The rule event must be specified. Optionally you can specify the sequence order of the rule in the collection of rules.
DEFAULT. Returns the Rule object specified by Index. Valid indexes are 1 through Count, inclusive.