Share via


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

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

Definition

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

Remarks

Called during garbage collection.