RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSOAPAttachment.SourceString Property

Specifies a string that is sent as the value of the attachment.

Pascal
property SourceString: string;
C++
__property AnsiString SourceString;

Use SourceString to supply the content of an attachment as a string. 

Setting the SourceString property causes TSOAPAttachment to clear the SourceStream property and to set the ContentType property to 'Text/simple'. If another MIME type string better describes the data, reset the ContentType property after setting SourceString. 

 

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