Share via


Finalize Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Cleans up resources.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Protected Overrides Sub Finalize
protected override void Finalize()
protected:
virtual void Finalize() override
abstract Finalize : unit -> unit 
override Finalize : unit -> unit 
protected override function Finalize()

.NET Framework Security

See Also

Reference

Stream Class

System.IO Namespace