ContentManager.Unload Method

Disposes all data that was loaded by this ContentManager.

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

public virtual void Unload ()

Exception typeCondition
ObjectDisposedException Unload was called after the ContentManager was disposed.

Xbox 360, Windows XP SP2, Windows Vista

Show: