Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

AudioPlayMode Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.