GameComponent.Dispose Method (Boolean)
Releases the unmanaged resources used by the GameComponent and optionally releases the managed resources.
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
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
GameComponent Class
GameComponent Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone