次の方法で共有


PlaySoundAction クラス

完了時にサウンドを鳴らすアクション。

名前空間: Microsoft.Expression.Interactivity.Media
アセンブリ: Microsoft.Expression.Interactions (microsoft.expression.interactions.dll 中)

構文

'宣言
Public Class PlaySoundAction
    Inherits TriggerAction(Of DependencyObject)
'使用
Dim instance As PlaySoundAction
public class PlaySoundAction : TriggerAction<DependencyObject>
public ref class PlaySoundAction : public TriggerAction<DependencyObject^>
public class PlaySoundAction extends TriggerAction<DependencyObject>
public class PlaySoundAction extends TriggerAction<DependencyObject>

解説

このアクションは、停止または制御する必要のない短いサウンド効果の利用を想定しています。音楽プレーヤやゲームを作成する場合には役に立たないかも知れません。

継承階層

System.Object
   System.Windows.Threading.DispatcherObject
     System.Windows.DependencyObject
       System.Windows.Freezable
         System.Windows.Media.Animation.Animatable
           System.Windows.Interactivity.TriggerAction
             System.Windows.Interactivity.TriggerAction
              Microsoft.Expression.Interactivity.Media.PlaySoundAction

スレッド セーフ

この型のパブリック静的メンバ (Visual Basic では Shared メンバ) は、いずれもスレッド セーフです。インスタンス メンバは、スレッド セーフであるとは限りません。

関連項目

参照

PlaySoundAction メンバ
Microsoft.Expression.Interactivity.Media 名前空間