共用方式為


SoundBank.Dispose Method (Boolean)

Immediately releases the unmanaged resources used by this object.

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

Syntax

protected virtual void Dispose (
         bool 
)

Parameters

  • **
    [MarshalAsAttribute(U1)] true to release both managed and unmanaged resources; false to release only unmanaged resources.

See Also

Reference

SoundBank Class
SoundBank Members
Microsoft.Xna.Framework.Audio Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista