Редагувати

Поділитися через


SystemSound Class

Definition

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

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