_RuleActions.Delete Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a RuleAction object with ActionType being olRuleActionDelete. Read-only.
public:
property Microsoft::Office::Interop::Outlook::RuleAction ^ Delete { Microsoft::Office::Interop::Outlook::RuleAction ^ get(); };
public Microsoft.Office.Interop.Outlook.RuleAction Delete { get; }
Public ReadOnly Property Delete As RuleAction
Property Value
Remarks
Use the returned RuleAction object when enumerating the rule actions of an existing rule or when creating a new rule that specifies deleting a message as an action.
This property of the RuleActions collection always returns a RuleAction object regardless of whether the rule associated with this RuleActions collection has defined such a rule action. If the rule has defined and enabled such a rule action, then Enabled will be True.