SoundEffectInstance.Dispose Method (Boolean)

Releases the unmanaged resources held by this SoundEffectInstance, and optionally releases the managed resources.

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

protected virtual void Dispose (
         bool disposing
)

Parameters

disposing
Type: Boolean
Pass true to release both the managed and unmanaged resources for this SoundEffectInstance. Passing false releases only the unmanaged resources.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

ADD
Show: