共用方式為


RenderTarget.Finalize Method

Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.

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

Syntax

protected override void Finalize ()

Remarks

This method overrides System.Object.Finalize. Application code should not call this method; an object's Finalize method is automatically invoked during garbage collection, unless a call to the GC.SuppressFinalize method has disabled finalization by the garbage collector.

See Also

Reference

RenderTarget Class
RenderTarget Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista