FileAction Property
The action to apply to the file.
Syntax
ANSI (Cross Platform) int GetFileAction(int iFileIndex);
int SetFileAction(int iFileIndex, int iFileAction); Unicode (Windows) INT GetFileAction(INT iFileIndex);
INT SetFileAction(INT iFileIndex, INT iFileAction);
Possible Values
AT_ADD(0),
AT_KEEP(1),
AT_UPDATE(2),
AT_DELETE(3),
AT_EXTRACT(4),
AT_SKIP(5)
- (int)fileAction:(int)fileIndex; - (void)setFileAction:(int)fileIndex:(int)newFileAction;
Possible Values
AT_ADD(0),
AT_KEEP(1),
AT_UPDATE(2),
AT_DELETE(3),
AT_EXTRACT(4),
AT_SKIP(5)
#define PID_ARCHIVEWRITER_FILEACTION 14 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_ArchiveWriter_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_ArchiveWriter_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_ArchiveWriter_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
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