Partager via


Rules Members

Include Protected Members
Include Inherited Members

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

The Rules type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only. (Inherited from _Rules.)
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only. (Inherited from _Rules.)
Public property Count Returns an Integer (int in C#) value indicating the count of objects in the specified collection. Read-only. (Inherited from _Rules.)
Public property IsRssRulesProcessingEnabled Returns or sets a Boolean (bool in C#) that indicates whether RSS rules processing has been enabled. Read/write. (Inherited from _Rules.)
Public property Item Obtains a Rule object specified by Index, which is either a numerical index into the Rules collection or the rule name. (Inherited from _Rules.)
Public property Parent Returns the parent Object of the specified object. Read-only. (Inherited from _Rules.)
Public property Session Returns the NameSpace object for the current session. Read-only. (Inherited from _Rules.)

Top

Methods

  Name Description
Public method Create Creates a Rule object with the name specified by Name and the type of rule specified by RuleType. (Inherited from _Rules.)
Public method 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. (Inherited from _Rules.)
Public method Save Saves all rules in the Rules collection. (Inherited from _Rules.)

Top

See Also

Reference

Rules Interface

Microsoft.Office.Interop.Outlook Namespace