Export (0) Print
Expand All

SoundEffectInstance.Stop Method (Boolean)

Stops playing a SoundEffectInstance immediately or as authored.

Namespace:  Microsoft.Xna.Framework.Audio
Assembly:  Microsoft.Xna.Framework (in Microsoft.Xna.Framework.dll)

public void Stop(
	bool immediate
)

Parameters

immediate
Type: System.Boolean
Specifies whether to stop playing immediately, or to break out of the loop region and play the release. Specify true to stop playing immediately, or false to break out of the loop region and play the release phase (the remainder of the sound).

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft