System.RegularExpressionsCore.TPerlRegEx.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TPerlRegEx();

Properties

Type Visibility Source Unit Parent
destructor public
System.RegularExpressionsCore.pas
System.RegularExpressionsCore.hpp
System.RegularExpressionsCore TPerlRegEx

Description

Destroys an instance of TPerlRegEx.

Do not call Destroy directly in an application. Instead, call Free. Free verifies that the instance is not nil, and only then calls Destroy.

Since the constructor was called without assigning an owner, Free must be called explicitly.

As the instance is destroyed, it frees internally allocated data resources.


See Also