Partager via


Device.Finalize() Method (Microsoft.DirectX.Direct3D)

Allows the Device object to free resources before it is destroyed by the garbage collector.

Definition

Visual Basic Overrides Protected Sub Finalize()
C# ~Device();
C++ !Device();
JScript protected override function Finalize();

Remarks

Called during garbage collection.