RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSOAPAttachment.SourceStream Property

Indicates a stream from which to read the content of an attachment that the application sends.

Pascal
property SourceStream: TStream;
C++
__property TStream SourceStream;

Read SourceStream to access the content of an attachment that the application is sending. When SourceStream is not nil (Delphi) or NULL (C++), the content of the attachment is read from this stream and the SourceString property is not set. Depending on the value of the Ownership property, SourceStream can be owned by the TSOAPAttachment object (in which case TSOAPAttachment frees the stream object when it is no longer needed) or can exist as an independent object that TSOAPAttachment does not free. 

SourceStream is a read-only property. To specify a stream from which TSOAPAttachment reads its data, use the SetSourceStream method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!