FileStream.Finalize FileStream.Finalize FileStream.Finalize FileStream.Finalize Method

Definition

Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the FileStream.

!FileStream ()
~FileStream ();
override this.Finalize : unit -> unit
Finalize ()

Remarks

The garbage collector calls Finalize when the current object is ready to be finalized. Finalize closes the FileStream.

Applies to

See also