Share via


_RuleConditions Members

Include Protected Members
Include Inherited Members

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.

The _RuleConditions type exposes the following members.

Properties

  Name Description
Public property Account Returns a AccountRuleCondition object with an _AccountRuleCondition.ConditionType of olConditionAccount. Read-only.
Public property AnyCategory Returns a RuleCondition object with a _RuleCondition.ConditionType of olConditionAnyCategory. Read-only.
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only.
Public property Body Returns a TextRuleCondition object with a _TextRuleCondition.ConditionType of olConditionBody. Read-only.
Public property BodyOrSubject Returns a TextRuleCondition object with a _TextRuleCondition.ConditionType of olConditionBodyOrSubject. Read-only.
Public property Category Returns a CategoryRuleCondition object with a _CategoryRuleCondition.ConditionType of olConditionCategory. Read-only.
Public property CC Returns a RuleCondition object with a _RuleCondition.ConditionType of olConditionCc. Read-only.
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only.
Public property Count Returns an Integer (int in C#) value indicating the count of objects in the specified collection. Read-only.
Public property FormName Returns a FormNameRuleCondition object with a _FormNameRuleCondition.ConditionType of olConditionFormName. Read-only.
Public property From Returns a ToOrFromRuleCondition object with a _ToOrFromRuleCondition.ConditionType of olConditionFrom. Read-only.
Public property FromAnyRSSFeed Returns a RuleCondition object with a _RuleCondition.ConditionType of olConditionFromAnyRssFeed. Read-only.
Public property FromRssFeed Returns a FromRssFeedRuleCondition object with a _FromRssFeedRuleCondition.ConditionType of olConditionFromRssFeed. Read-only.
Public property HasAttachment Returns a RuleCondition object with a _RuleCondition.ConditionType of olConditionHasAttachment. Read-only.
Public property Importance Returns an ImportanceRuleCondition object with an _ImportanceRuleCondition.ConditionType of olConditionImportance. Read-only.
Public property Item Obtains a RuleCondition object specified by Index which is a numerical index into the RuleConditions collection.
Public property MeetingInviteOrUpdate Returns a RuleCondition object with a _RuleCondition.ConditionType of olConditionMeetingInviteOrUpdate. Read-only.
Public property MessageHeader Returns a TextRuleCondition object with a _TextRuleCondition.ConditionType of olConditionMessageHeader. Read-only.
Public property NotTo Returns a RuleCondition object with a _RuleCondition.ConditionType of olConditionNotTo. Read-only.
Public property OnLocalMachine Returns a RuleCondition object with a _RuleCondition.ConditionType of olConditionLocalMachineOnly. Read-only.
Public property OnlyToMe Returns a RuleCondition object with a _RuleCondition.ConditionType of olConditionOnlyToMe. Read-only.
Public property OnOtherMachine Returns a RuleCondition object with a _RuleCondition.ConditionType of olConditionOtherMachine. Read-only.
Public property Parent Returns the parent Object of the specified object. Read-only.
Public property RecipientAddress Returns an AddressRuleCondition object with an _AddressRuleCondition.ConditionType of olConditionRecipientAddress. Read-only.
Public property SenderAddress Returns an AddressRuleCondition object with an _AddressRuleCondition.ConditionType of olConditionSenderAddress. Read-only.
Public property SenderInAddressList Returns a SenderInAddressListRuleCondition object with a _SenderInAddressListRuleCondition.ConditionType of olConditionAccount. Read-only.
Public property SentTo Returns a ToOrFromRuleCondition object with a _ToOrFromRuleCondition.ConditionType of olConditionSentTo. Read-only.
Public property Session Returns the NameSpace object for the current session. Read-only.
Public property Subject Returns a TextRuleCondition object with a _TextRuleCondition.ConditionType of olConditionSubject. Read-only.
Public property ToMe Returns a RuleCondition object with a _RuleCondition.ConditionType of olConditionTo. Read-only.
Public property ToOrCc Returns a RuleCondition object with a _RuleCondition.ConditionType of olConditionToOrCc. Read-only.

Top

Methods

  Name Description
Public method GetEnumerator (Inherited from IEnumerable.)

Top

See Also

Reference

_RuleConditions Interface

Microsoft.Office.Interop.Outlook Namespace