Finalize method in X++ Programming Language

Rumman Ansari   Software Engineer     610 Share
☰ Table of Contents

Table of Content:


Finalize method - A destructor method that finalizes an instance of a class by using the finalize keyword. The following is an example, using an if statement, which shows how to call a finalize method:


if (condition) //state the condition that should be met
{
  this.finalize();
}