Soap.OPToSOAPDomConv.TOPToSoapDomConvert.TempDir

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TempDir: string read GetTempDir write SetTempDir;

C++

__property System::UnicodeString TempDir = {read=GetTempDir, write=SetTempDir};

Properties

Type Visibility Source Unit Parent
property published
Soap.OPToSOAPDomConv.pas
Soap.OPToSOAPDomConv.hpp
Soap.OPToSOAPDomConv TOPToSoapDomConvert

Description

Specifies the directory where temporary files for attachments are saved.

When the application that includes this TOPToSoapDomConvert instance receives an attachment as the value of a parameter (or the return value) of the current method, TOPToSoapDomConvert writes the attachment to a temporary file. This temporary file becomes the value of the CacheFile property on the TSoapAttachment object that represents the attachment.

Use TempDir to specify the directory where TOPToSoapDomConvert writes the temporary files for attachments.

Note: If TempDir is not set, the application uses the default temporary directory. On Windows, this is the directory that the Windows API GetTempPath returns. On Linux, this is obtained from the TMPDIR environment setting (or, if TMPDIR is not set, /tmp/)

See Also