ElementSoundPlayer.Play(ElementSoundKind) ElementSoundPlayer.Play(ElementSoundKind) ElementSoundPlayer.Play(ElementSoundKind) ElementSoundPlayer.Play(ElementSoundKind) Method

Definition

Plays the specified sound.

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

Parameters

sound
ElementSoundKind ElementSoundKind

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

Remarks

For more info, see Sound in UWP apps.