Back to product page

AutoDelete property (FileBlob)


Determines if the file will be deleted when the object is destroyed.

Type

A Boolean value. When set to True, filename that FileBlob points to is deleted upon FileBlob's destruction.

Syntax

  • Basic
object.AutoDelete [= value]
The AutoDelete(object) syntax has these parts:
objectAn expression evaluating to an object of type FileBlob

Remarks

The AutoDelete property determines whether the file in which FileBlob stores its data is deleted or will remain in existence after the FileBlob object is destroyed. By default, if you don't specify the Filename property, FileBlob will delete the temporarily created file, and the AutoDelete property will be set to True internally. If you don't want this file to be deleted - set this property to False.

Platforms

Windows