Share via


CommaTextIo.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

This method is not usually called directly. Instead, the object is usually finalized by leaving the scope. Written output is not valid until the object is finalized.

Applies to