Internet Direct (Indy)
Home
PreviousUpNext
TIdAttachmentFile.CloseLoadStream Method

Frees the internal stream used in loading the contents of the message part.

Pascal
procedure CloseLoadStream; override;

CloseLoadStream is an overridden procedure used to free the internal file stream created for loading the contents of the message part during encoding and subsequent transmission. 

CloseLoadStream is used in the implementation of TIdMessageClient.SendBody after a TIdMessageEncoder instance has encoded the contents of the message part. 

CloseLoadStream frees the TFileStream created in OpenLoadStream.

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.