ElementSoundPlayer.Play(ElementSoundKind) Method

Definition

Plays the specified sound.

public:
 static void Play(ElementSoundKind sound);
 static void Play(ElementSoundKind 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 in UWP apps.

Applies to