Share via


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

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

Definition

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

Remarks

Called during garbage collection.