Share via


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

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

Definition

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

Remarks

Called during garbage collection.