共用方式為


PlaySoundRuleAction Object (Outlook)

Represents an action that plays a .wav file sound.

Version Information

Version Added: Outlook 2007

Remarks

PlaySoundRuleAction is derived from the RuleAction object. Each rule is associated with a RuleActions object which has a PlaySound property. The PlaySound property always returns a PlaySoundRuleAction object. If the rule has an enabled rule action that plays a sound file, then PlaySoundRuleAction.Enabled property would be True.

For more information on specifying rule actions, see Specify Rule Actions.

See Also

Concepts

PlaySoundRuleAction Object Members

Outlook Object Model Reference