Indicates how to play sounds when calling audio methods.
| C# | Visual Basic |
public enum AudioPlayMode
Public Enumeration AudioPlayMode
| Member | Description |
|---|---|
| WaitToComplete | |
| 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 My.Computer.Audio.Stop Method is called.
The calling code continues to execute.
|
| HasFlag |
Determines whether one or more bit fields are set in the current instance.
|
You can use the AudioPlayMode enumeration members to control how the My.Computer.Audio.Play Method plays sounds.