Modifica

Condividi tramite


_RuleConditions Interface

Definition

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see RuleConditions.

public interface class _RuleConditions : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000630D8-0000-0000-C000-000000000046")]
public interface _RuleConditions : System.Collections.IEnumerable
Public Interface _RuleConditions
Implements IEnumerable
Derived
Attributes
Implements

Properties

Account

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

AnyCategory

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

BodyOrSubject

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

Category

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

CC

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

Class

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

Count

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

FormName

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

From

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

FromAnyRSSFeed

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

FromRssFeed

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

HasAttachment

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

Importance

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

Item[Int32]

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

MeetingInviteOrUpdate

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

MessageHeader

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

NotTo

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

OnLocalMachine

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

OnlyToMe

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

OnOtherMachine

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

Parent

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

RecipientAddress

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

SenderAddress

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

SenderInAddressList

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

SentTo

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

Session

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

Subject

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

ToMe

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

ToOrCc

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

Applies to