SystemSounds.Exclamation Свойство

Определение

Возвращает звук, связанный с событием программы в текущей Exclamation звуковой схеме Windows.

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

Значение свойства

Связанное SystemSound с событием Exclamation программы в текущей звуковой схеме Windows.

Примеры

В следующем примере кода показано использование Exclamation свойства.

// Plays the sound associated with the Exclamation system event.
SystemSounds::Exclamation->Play();
// Plays the sound associated with the Exclamation system event.
SystemSounds.Exclamation.Play();
' Plays the sound associated with the Exclamation system event.
SystemSounds.Exclamation.Play()

Применяется к

См. также раздел