_RuleActions.DesktopAlert Property

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property DesktopAlert As RuleAction
    Get
'Usage
Dim instance As _RuleActions
Dim value As RuleAction

value = instance.DesktopAlert
[DispIdAttribute()]
RuleAction DesktopAlert { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.RuleAction

Remarks

Use the returned RuleAction object when enumerating the rule actions of an existing rule or when creating a new rule that specifies displaying a desktop alert 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 _MoveOrCopyRuleAction.Enabled will be True.

See Also

Reference

_RuleActions Interface

_RuleActions Members

Microsoft.Office.Interop.Outlook Namespace