Copyright © 2011-2019 MultiMedia Soft

ZIP.EntryRemove method

Previous pageReturn to chapter overviewNext page

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 ZipMan class.

For details about using ZIP management refer to the How to manage ZIP files tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function EntryRemove (

nEntryIndex as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes EntryRemove (

Int32 nEntryIndex

);


 

[C++]

public: enumErrorCodes EntryRemove (

Int32 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 (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.