Rules Members (Outlook)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a set of Rule objects that are the rules available in the current session.

Name

Description

Create

Creates a Rule object with the name specified by Name and the type of rule specified by RuleType.

Item

Obtains a Rule object specified by Index, which is either a numerical index into the Rules collection or the rule name.

Remove

Removes from the Rules collection a Rule object specified by Index, which is either a numerical index into the Rules collection or the rule name.

Save

Saves all rules in the Rules collection.

Name

Description

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

Count

Returns a Long indicating the count of objects in the specified collection. Read-only.

IsRssRulesProcessingEnabled

Returns or sets a Boolean that indicates whether RSS rules processing has been enabled. Read/write.

Parent

Returns the parent Object of the specified object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

Show: