Soap.InvokeRegistry.TSOAPAttachment.SourceStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SourceStream: TStream read GetSourceStream;

C++

__property System::Classes::TStream* SourceStream = {read=GetSourceStream};

Properties

Type Visibility Source Unit Parent
property public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry TSOAPAttachment

Description

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

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.

See Also