Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SystemSound Class
Definition
- Namespace:
- System.Media
- Assembly:
- System.Windows.Extensions.dll
- Assembly:
- System.dll
- Package:
- System.Windows.Extensions v11.0.0-preview.5.26302.115
- Source:
- SystemSound.cs
- Source:
- SystemSound.cs
- Source:
- SystemSound.cs
- Source:
- SystemSound.cs
- Source:
- SystemSound.cs
- Source:
- SystemSound.cs
- Source:
- SystemSound.cs
- Source:
- SystemSound.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a system sound type.
public ref class SystemSound
public class SystemSound
type SystemSound = class
Public Class SystemSound
- Inheritance
-
SystemSound
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()
Methods
| Name | Description |
|---|---|
| Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
| GetType() |
Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
| Play() |
Plays the system sound type. |
| ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
See also
Feedback
Was this page helpful?
