Share via


SoundBank.Dispose Method (Boolean)

Immediately releases the unmanaged resources used by this object.

Syntax

'Declaration
Protected Overridable Sub Dispose ( _
         disposing As Boolean _
)
protected virtual void Dispose (
         bool disposing
)
protected:
virtual void Dispose(
         bool disposing
)

Parameters

  • disposing
    Type: Boolean
    [MarshalAsAttribute(U1)] true to release both managed and unmanaged resources; false to release only unmanaged resources.

Requirements

Namespace: Microsoft.Xna.Framework.Audio

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

See Also

Reference

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

Platforms

Windows Phone