Internet Direct (Indy)
Home
PreviousUpNext
TIdAttachmentFile.Destroy Destructor

Frees the object instance from the message parts collection.

Pascal
destructor Destroy; override;

Destroy is the destructor for the object instance and frees the collection item from the message parts collection. 

When FileIsTempFile contains True, Destroy will permanently delete the file indicated by the StoredPathName property. 

Destroy calls the inherited destructor prior to exiting from the method.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.