Exclamation Property
Collapse the table of content
Expand the table of content

SystemSounds.Exclamation Property

 

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

Namespace:   System.Media
Assembly:  System (in System.dll)

public static SystemSound Exclamation { get; }

Property Value

Type: System.Media.SystemSound

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

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

// Plays the sound associated with the Exclamation system event.
SystemSounds.Exclamation.Play();

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft