RuleActions RuleActions RuleActions Interface

Definition

The RuleActions object contains a set of RuleAction objects or objects derived from RuleAction, representing the actions that are executed on a Rule object.

public interface class RuleActions : Microsoft::Office::Interop::Outlook::_RuleActions
[System.Runtime.InteropServices.Guid("000630CE-0000-0000-C000-000000000046")]
public interface RuleActions : Microsoft.Office.Interop.Outlook._RuleActions
Public Interface RuleActions
Implements _RuleActions
Derived
Attributes
Implements

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _RuleActions.

The RuleActions object is a fixed collection. RuleAction objects or types that derive from the RuleAction object cannot be added to or removed from the RuleActions object.

The Rules object model provides partial parity with the Rules and Alerts Wizard in the Outlook user interface. It supports the most commonly used rule actions and conditions. Although it does not support creating rules with any rule action or rule condition that the Wizard supports, you can still enumerate and enable these rule actions and conditions in existing rules.

For more information on rule actions, see Specify Rule ActionsHow to: Create a Rule to Move Specific E-mails to a Folder

Properties

Application Application Application

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

(Inherited from _RuleActions)

AssignToCategory AssignToCategory AssignToCategory

Returns an AssignToCategoryRuleAction object with ActionType being olRuleAssignToCategory. Read-only.

(Inherited from _RuleActions)

CC CC CC

Returns a SendRuleAction object with ActionType being olRuleActionCcMessage. Read-only.

(Inherited from _RuleActions)

Class Class Class

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

(Inherited from _RuleActions)

ClearCategories ClearCategories ClearCategories

Returns a RuleAction object with a ActionType of olRuleActionClearCategories. Read-only.

(Inherited from _RuleActions)

CopyToFolder CopyToFolder CopyToFolder

Returns a MoveOrCopyRuleAction object with ActionType being olRuleActionCopyToFolder. Read-only.

(Inherited from _RuleActions)

Count Count Count

Returns an Integer (int in C#) value indicating the count of objects in the specified collection. Read-only.

(Inherited from _RuleActions)

Delete Delete Delete

Returns a RuleAction object with ActionType being olRuleActionDelete. Read-only.

(Inherited from _RuleActions)

DeletePermanently DeletePermanently DeletePermanently

Returns a RuleAction object with ActionType being olRuleActionDeletePermanently. Read-only.

(Inherited from _RuleActions)

DesktopAlert DesktopAlert DesktopAlert

Returns a RuleAction object with ActionType being olRuleActionDesktopAlert. Read-only.

(Inherited from _RuleActions)

Forward Forward Forward

Returns a SendRuleAction object with ActionType being olRuleActionForward. Read-only.

(Inherited from _RuleActions)

ForwardAsAttachment ForwardAsAttachment ForwardAsAttachment

Returns a SendRuleAction object with ActionType being olRuleActionForwardAsAttachment. Read-only.

(Inherited from _RuleActions)

Item[Int32] Item[Int32] Item[Int32]

Obtains a RuleAction object specified by Index which is a numerical index into the RuleActions collection.

(Inherited from _RuleActions)

MarkAsTask MarkAsTask MarkAsTask

Returns a MarkAsTaskRuleAction object with ActionType being olRuleActionMarkAsTask. Read-only.

(Inherited from _RuleActions)

MoveToFolder MoveToFolder MoveToFolder

Returns a MoveOrCopyRuleAction object with ActionType being olRuleActionMoveToFolder. Read-only.

(Inherited from _RuleActions)

NewItemAlert NewItemAlert NewItemAlert

Returns a NewItemAlertRuleAction object with ActionType being olRuleActionNewItemAlert. Read-only.

(Inherited from _RuleActions)

NotifyDelivery NotifyDelivery NotifyDelivery

Returns a RuleAction object with ActionType being olRuleActionNotifyDelivery. Read-only.

(Inherited from _RuleActions)

NotifyRead NotifyRead NotifyRead

Returns a RuleAction object with ActionType being olRuleActionNotifyRead. Read-only.

(Inherited from _RuleActions)

Parent Parent Parent

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

(Inherited from _RuleActions)

PlaySound PlaySound PlaySound

Returns a PlaySoundRuleAction object with ActionType being olRuleActionNotifyRead. Read-only.

(Inherited from _RuleActions)

Redirect Redirect Redirect

Returns a SendRuleAction object with ActionType being olRuleActionRedirect. Read-only.

(Inherited from _RuleActions)

Session Session Session

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

(Inherited from _RuleActions)

Stop Stop Stop

Returns a RuleAction object with ActionType being olRuleActionStop. Read-only.

(Inherited from _RuleActions)

Applies to