ElementSoundPlayer.Play(ElementSoundKind) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.