This documentation is archived and is not being maintained.

AudioPlayMode Enumeration 

Indicates how to play sounds when calling audio methods.

You can use the AudioPlayMode enumeration members to control how the My.Computer.Audio.Play Method plays sounds.

Member Description

WaitToComplete

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

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.

Namespace: Microsoft.VisualBasic

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)

Show: