This documentation is archived and is not being maintained.

Regex.Finalize Method

.NET Framework 1.1

Forces a Regex object to free resources before the object is destroyed by the Garbage Collector.

[C#] In C#, finalizers are expressed using destructor syntax.

[C++] In C++, finalizers are expressed using destructor syntax.

[Visual Basic]
Overrides Protected Sub Finalize()
[C#]
~Regex();
[C++]
~Regex();
[JScript]
protected override function Finalize();

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Regex Class | Regex Members | System.Text.RegularExpressions Namespace

Show: