編集

次の方法で共有


SystemSounds.Asterisk Property

Definition

Gets the sound associated with the Asterisk program event in the current Windows sound scheme.

public:
 static property System::Media::SystemSound ^ Asterisk { System::Media::SystemSound ^ get(); };
public static System.Media.SystemSound Asterisk { get; }
static member Asterisk : System.Media.SystemSound
Public Shared ReadOnly Property Asterisk As SystemSound

Property Value

A SystemSound associated with the Asterisk program event in the current Windows sound scheme.

Examples

The following code example demonstrates the use of the Asterisk property.

// 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()

Applies to

See also