Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AudioPlayMode Enumeration

Indicates how to play sounds when calling audio methods.

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

public enum AudioPlayMode
public enum AudioPlayMode
public enum AudioPlayMode
 Member nameDescription
BackgroundCauses the My.Computer.Audio.Play method to play the sound in the background. The calling code continues to execute. 
BackgroundLoopCauses 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. 
WaitToCompleteCauses the My.Computer.Audio.Play method to play the sound, and waits until it completes before calling code continues. 

For more detailed information, see the Visual Basic topic AudioPlayMode Enumeration.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.