SoundEffectInstance.Dispose Method
Releases the resources used by the Dispose.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public void Dispose ()
Remarks
Call Dispose only when you are finished using the SoundEffectInstance. The Dispose method leaves the SoundEffectInstance in an unusable state. After calling Dispose, you must release all references to the SoundEffectInstance in order for the garbage collector to reclaim the memory that the SoundEffectInstance was occupying. For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.
See Also
Reference
SoundEffectInstance Class
SoundEffectInstance Members
Microsoft.Xna.Framework.Audio Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista, Zune