DrawableGameComponent.Dispose Method (Boolean)
Releases the unmanaged resources used by the DrawableGameComponent and optionally releases the managed resources.
Syntax
'Declaration
Protected Overrides Sub Dispose ( _
disposing As Boolean _
)
protected override void Dispose (
bool disposing
)
protected:
void Dispose(
bool disposing
) override
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
DrawableGameComponent Class
DrawableGameComponent Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone