RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWriter.Destroy Destructor

Destroys of an instance of a writer.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TWriter();

Do not call Destroy directly in an application. Writers are created indirectly by the global routines or stream methods that use them. When these routines are finished, they handle disposing of the writer. 

Destroy writes the buffer before calling the inherited Destroy, which frees the buffer. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!