RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFileStream.Destroy Destructor

Destroys an instance of TFileStream.

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

Do not call Destroy directly in an application. Instead, call Free, which checks that the TFileStream reference is not nil and only then calls Destroy. 

Destroy closes the Handle for the file stream before freeing the object. 

 

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