←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 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.