ElementSoundPlayer.Play(ElementSoundKind) Method

Definition

Plays the specified sound.

public:
 static void Play(ElementSoundKind sound);
 static void Play(ElementSoundKind const& sound);
public static void Play(ElementSoundKind sound);
function play(sound)
Public Shared Sub Play (sound As ElementSoundKind)

Parameters

sound
ElementSoundKind

A value of the enumeration that specifies the sound to play.

Remarks

For more info, see Sound design guidance.

Applies to