AudioPlayMode Enumeration
.NET Framework (current version)
Indicates how to play sounds when calling audio methods.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
| Member name | Description | |
|---|---|---|
| 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
Available since 2.0
Show: