共用方式為


RuleConditions Members (Outlook)

Contains a set of RuleCondition objects or objects derived from RuleCondition, representing the conditions or exception conditions that must be satisfied in order for the Rule to execute.

Methods

Name

Description

Item

Obtains a RuleCondition object specified by Index which is a numerical index into the RuleConditions collection.

Properties

Name

Description

Account

Returns a AccountRuleCondition object with an AccountRuleCondition.ConditionType of olConditionAccount. Read-only.

AnyCategory

Returns a RuleCondition object with a RuleCondition.ConditionType of olConditionAnyCategory. Read-only.

Application

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

Body

Returns a TextRuleCondition object with a TextRuleCondition.ConditionType of olConditionBody. Read-only.

BodyOrSubject

Returns a TextRuleCondition object with a TextRuleCondition.ConditionType of olConditionBodyOrSubject. Read-only.

Category

Returns a CategoryRuleCondition object with a CategoryRuleCondition.ConditionType of olConditionCategory. Read-only.

CC

Returns a RuleCondition object with a RuleCondition.ConditionType of olConditionCc. 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.

FormName

Returns a FormNameRuleCondition object with a FormNameRuleCondition.ConditionType of olConditionFormName. Read-only.

From

Returns a ToOrFromRuleCondition object with a ToOrFromRuleCondition.ConditionType of olConditionFrom. Read-only.

FromAnyRSSFeed

Returns a RuleCondition object with a RuleCondition.ConditionType of olConditionFromAnyRssFeed. Read-only.

FromRssFeed

Returns a FromRssFeedRuleCondition object with a FromRssFeedRuleCondition.ConditionType of olConditionFromRssFeed. Read-only.

HasAttachment

Returns a RuleCondition object with a RuleCondition.ConditionType of olConditionHasAttachment. Read-only.

Importance

Returns an ImportanceRuleCondition object with an ImportanceRuleCondition.ConditionType of olConditionImportance. Read-only.

MeetingInviteOrUpdate

Returns a RuleCondition object with a RuleCondition.ConditionType of olConditionMeetingInviteOrUpdate. Read-only.

MessageHeader

Returns a TextRuleCondition object with a TextRuleCondition.ConditionType of olConditionMessageHeader. Read-only.

NotTo

Returns a RuleCondition object with a RuleCondition.ConditionType of olConditionNotTo. Read-only.

OnLocalMachine

Returns a RuleCondition object with a RuleCondition.ConditionType of olConditionLocalMachineOnly. Read-only.

OnlyToMe

Returns a RuleCondition object with a RuleCondition.ConditionType of olConditionOnlyToMe. Read-only.

OnOtherMachine

Returns a RuleCondition object with a RuleCondition.ConditionType of olConditionOtherMachine. Read-only.

Parent

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

RecipientAddress

Returns an AddressRuleCondition object with an AddressRuleCondition.ConditionType of olConditionRecipientAddress. Read-only.

SenderAddress

Returns an AddressRuleCondition object with an AddressRuleCondition.ConditionType of olConditionSenderAddress. Read-only.

SenderInAddressList

Returns a SenderInAddressListRuleCondition object with a SenderInAddressListRuleCondition.ConditionType of olConditionAccount. Read-only.

SentTo

Returns a ToOrFromRuleCondition object with a ToOrFromRuleCondition.ConditionType of olConditionSentTo. Read-only.

Session

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

Subject

Returns a TextRuleCondition object with a TextRuleCondition.ConditionType of olConditionSubject. Read-only.

ToMe

Returns a RuleCondition object with a RuleCondition.ConditionType of olConditionTo. Read-only.

ToOrCc

Returns a RuleCondition object with a RuleCondition.ConditionType of olConditionToOrCc. Read-only.