RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSOAPAttachment.CacheFilePersist Property

Indicates whether the temporary file that contains the attachment data is deleted when TSOAPAttachment is freed.

Pascal
property CacheFilePersist: Boolean;
C++
__property Boolean CacheFilePersist;

When CacheFilePersist is false (the default), the temporary file that the CacheFile property identifies is automatically deleted when the TSOAPAttachment instance is freed. You can save the information from the cache file using the SaveToFile or SaveToStream method before freeing the TSOAPAttachment instance. 

When CacheFilePersist is true, the temporary file is not deleted when the TSOAPAttachment instance is freed. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!