Soap.InvokeRegistry.TSOAPAttachment.SaveToFile

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SaveToFile(AFileName: string);

C++

void __fastcall SaveToFile(System::UnicodeString AFileName);

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 SaveToFile to save the contents of the attachment to a specified file. 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.

AFileName is the name of the file to which SaveToFile writes the content of the attachment.

See Also