Controls what happens to the external attachment documents when the owner document is deleted from the cache.
public bool AutoDeleteAttachmentsFromCache {get; set;}
Public Property AutoDeleteAttachmentsFromCache() As Boolean
Get
Set
public:
property bool AutoDeleteAttachmentsFromCache
{
bool get()
void set(bool value)
}
true to delete all external attachment documents when the owner document is deleted from the cache; otherwise, false. The default value is true.
The value of AutoDeleteAttachmentsFromCache controls what happens to the external attachment documents when the owner document is deleted from the cache. If true (the default value), then the document factory will try to delete all documents with an ID equal to DocumentAttachment.DocumentId from the cache when DocumentFactory.DeleteFromCache is called on the owner document.
Refer to Document Attachments for more information.
For an example, refer to DocumentAttachment.DocumentId.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document