Topic Path: Symbol Reference > Classes > TIdAttachmentMemory Class > TIdAttachmentMemory Methods > CloseLoadStream Method
ContentsIndexHome
PreviousUpNext
TIdAttachmentMemory.CloseLoadStream Method

Resets the stream used in loading the contents of the message part.

procedure CloseLoadStream; override;

CloseLoadStream is an overridden procedure used to reset the internal stream used 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 resets the position in DataStream to its position prior to calling OpenLoadStream.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.