Share via


SystemSound Classe

Definizione

Rappresenta un tipo di suono di sistema.

public ref class SystemSound
public class SystemSound
type SystemSound = class
Public Class SystemSound
Ereditarietà
SystemSound

Esempio

Nell'esempio di codice seguente viene illustrato l'uso Asterisk della proprietà.

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

Metodi

Equals(Object)

Determina se l'oggetto specificato è uguale all'oggetto corrente.

(Ereditato da Object)
GetHashCode()

Funge da funzione hash predefinita.

(Ereditato da Object)
GetType()

Ottiene l'oggetto Type dell'istanza corrente.

(Ereditato da Object)
MemberwiseClone()

Crea una copia superficiale dell'oggetto Object corrente.

(Ereditato da Object)
Play()

Riproduce il tipo di suono del sistema.

ToString()

Restituisce una stringa che rappresenta l'oggetto corrente.

(Ereditato da Object)

Si applica a

Vedi anche