Internet Direct (Indy)
Home
PreviousUpNext
TIdAttachmentMemory.DataString Property

Provides access to the contents for the in-memory message part as a string.

Pascal
property DataString: string;

DataString is a string property that represents the contents of the in-memory message part. 

Reading or writing values in DataString causes DataStream to be accessed for the corresponding operation. 

When reading values in DataString, the entire contents of the stream are returned, but the position in DataStream prior to reading values is maintained. 

When writing values to DataString, the contents in DataStream are discarded and set to the new value for the property. 

Use DataStream to access the contents for the in-memory message part as a TStream instance.

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.