_RuleActions.PlaySound 属性

定义

返回一个 PlaySoundRuleAction 对象,该 ActionType 对象为 olRuleActionNotifyRead。 只读。

public:
 property Microsoft::Office::Interop::Outlook::PlaySoundRuleAction ^ PlaySound { Microsoft::Office::Interop::Outlook::PlaySoundRuleAction ^ get(); };
public Microsoft.Office.Interop.Outlook.PlaySoundRuleAction PlaySound { get; }
Public ReadOnly Property PlaySound As PlaySoundRuleAction

属性值

注解

在枚举现有规则,或创建一个新规则来指定为一个操作播放声音文件的规则操作时,使用返回的 PlaySoundRuleAction 对象。

集合的 RuleActions 此属性始终返回 PlaySoundRuleAction 对象,而不管与此 RuleActions 集合关联的规则是否定义了此类规则操作。 如果规则已定义并启用此类规则操作,则 EnabledTrue

适用于