←Select platform

Finalize Method

Summary

Allows an object to try to free resources and performs cleanup operations before it is reclaimed by garbage collection.

Syntax
C#
C++/CLI
Python
protected override void Finalize() 
protected:  
   virtual void Finalize() override 
def Finalize(self): 
Remarks

The Finalize method is used to perform cleanup operations on unmanaged resources held by the current object before the object is destroyed.

Requirements

Target Platforms

Help Version 23.0.2024.5.23
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.