DrawableGameComponent.Dispose Method (Boolean)
Releases the unmanaged resources used by the DrawableGameComponent and optionally releases the managed resources.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)
Syntax
protected override void Dispose (
bool disposing
)
Parameters
- disposing
true to release both managed and unmanaged resources; false to release only unmanaged resources.
See Also
Reference
DrawableGameComponent Class
DrawableGameComponent Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista