Share via


ContentManager.Dispose Method (Boolean)

Releases the unmanaged resources used by the ContentManager and optionally releases the managed resources.

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

Syntax

protected virtual void Dispose (
         bool disposing
)

Parameters

  • disposing
    true to release both managed and unmanaged resources; false to release only unmanaged resources.

See Also

Reference

ContentManager Class
ContentManager Members
Microsoft.Xna.Framework.Content Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista