แชร์ผ่าน


Io.finalize Method

Definition

Closes the file and, if data was written, flushes the file buffers to disk.

public:
 override void finalize();
public override void finalize ();
override this.finalize : unit -> unit
Public Overrides Sub finalize ()

Remarks

The object is typically finalized by leaving the scope, so finalize is typically not called directly. Written output will not be valid before the object is finalized.

Applies to