SystemSound.Play メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
システム サウンドの種類を再生します。
public:
void Play();
public void Play ();
member this.Play : unit -> unit
Public Sub Play ()
例
次のコード例では、 プロパティの使用方法を Asterisk 示します。
// Plays the sound associated with the Asterisk system event.
SystemSounds::Asterisk->Play();
// Plays the sound associated with the Asterisk system event.
SystemSounds.Asterisk.Play();
' Plays the sound associated with the Asterisk system event.
SystemSounds.Asterisk.Play()
注釈
メソッドは Play 、サウンドを非同期的に再生します。