Soap.InvokeRegistry.TSOAPAttachment.SaveToStream
Delphi
procedure SaveToStream(AStream: TStream);
C++
void __fastcall SaveToStream(System::Classes::TStream* AStream);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Soap.InvokeRegistry.pas Soap.InvokeRegistry.hpp |
Soap.InvokeRegistry | TSOAPAttachment |
Description
Saves the contents of the attachment to a specified file.
Call SaveToStream to write the contents of the attachment to a specified stream. This content can come from:
- The temporary file that the CacheFile property indicates.
- The stream that the SourceStream property specifies.
- The file that the SetSourceFile method supplies.
- The string that the SourceString property specifies.
AStream is the stream to which SaveToStream writes the content of the attachment.