Unload Method
Collapse the table of content
Expand the table of content

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 7, Windows Vista, Windows XP, Windows Phone

Community Additions

© 2016 Microsoft