AudioPlayMode Enumeration

AudioPlayMode Enumeration

 

Indicates how to play sounds when calling audio methods.

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Public Enumeration AudioPlayMode

Member nameDescription
Background

Causes the My.Computer.Audio.Play method to play the sound in the background. The calling code continues to execute.

BackgroundLoop

Causes the My.Computer.Audio.Play method to play the sound in the background until the Stop method is called. The calling code continues to execute.

WaitToComplete

Causes the My.Computer.Audio.Play method to play the sound, and waits until it completes before calling code continues.

You can use the AudioPlayMode enumeration members to control how the Play method plays sounds.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft