共用方式為


RuleActions Members (Outlook)

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

Methods

Name

Description

Item

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

Properties

Name

Description

Application

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

AssignToCategory

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

CC

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

Class

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

ClearCategories

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

CopyToFolder

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

Count

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

Delete

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

DeletePermanently

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

DesktopAlert

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

Forward

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

ForwardAsAttachment

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

MarkAsTask

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

MoveToFolder

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

NewItemAlert

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

NotifyDelivery

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

NotifyRead

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

Parent

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

PlaySound

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

Redirect

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

Session

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

Stop

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