FileAction Property
The action to apply to the file.
Syntax
__property TsbxArchiveWriterFileActions FileAction[int FileIndex] = { read=FFileAction, write=FSetFileAction };
enum TsbxArchiveWriterFileActions { atAdd=0, atKeep=1, atUpdate=2, atDelete=3, atExtract=4, atSkip=5 };
Default Value
atAdd
Remarks
The action to apply to the file.
Use this property to control the action that should be applied to the file during the compression or extraction. The following actions are supported:
atAdd (0) | Add the file to the archive |
atKeep (1) | Keep the existing file in the archive |
atUpdate (2) | Update the archived file with a fresher copy |
atDelete (3) | Delete the file from the archive |
atExtract (4) | Extract the file (extraction only) |
atSkip (5) | Skip file extraction (extraction only) |
The FileIndex parameter specifies the index of the item in the array. The size of the array is controlled by the FileCount property.
This property is not available at design time.
Data Type
Integer