ZIP.EntryRemove method |
|
Remarks
Removes a specific entry from the ZIP file session.
This method only updates the ZIP session: to update or rewrite the ZIP file the ZIP.Save method would need to be called.
For further details about methods for ZIP management refer to the ZIP object.
For details about using ZIP management refer to the How to manage ZIP files tutorial.
Syntax
[Visual Basic] control.ZIP.EntryRemove ( nEntryIndex as Long ) as enumErrorCodes |
[C++] short control.ZIP.EntryRemove ( long nEntryIndex ); |
Parameter |
Description |
|
|
nEntryIndex |
Number representing the zero-based index of the entry to remove. The total number of entries available inside the ZIP file can be obtained through the ZIP.EntriesCountGet method. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to get the error code |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |