Compartir a través de


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

Typically, you finalize the object by leaving the scope. Therefore, the finalize method is not usually called directly. Written output is not valid until the object is finalized.

Applies to