BinaryIo.finalize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.