In The Hand LtdIn The Hand
SoundPlayer Constructor (soundLocation)
NamespacesInTheHand.MediaSoundPlayerSoundPlayer(String)
.NET Components for Mobility
Initializes a new instance of the SoundPlayer class and attaches the specified .wav file.
Declaration Syntax
C#Visual Basic
public SoundPlayer(
	string soundLocation
)
Public Sub New ( _
	soundLocation As String _
)
Parameters
soundLocation (String)
The location of a .wav file to load.
Remarks
The string passed to the soundLocation parameter must be a path to a .wav file. If the path is invalid, the SoundPlayer object will still be constructed, but subsequent calls to a load or play method will fail.

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0