UpdateEntry Method (entryName, writer)

DotNetZip

Ionic Zip Library v1.9.1.6 UpdateEntry Method (entryName, writer)
ReferenceIonic.ZipZipFileUpdateEntry(String, WriteDelegate)
Updates the given entry in the ZipFile, using the given delegate as the source for content for the ZipEntry.
Declaration Syntax
C# Visual Basic Visual C++
public ZipEntry UpdateEntry(
	string entryName,
	WriteDelegate writer
)
Public Function UpdateEntry ( _
	entryName As String, _
	writer As WriteDelegate _
) As ZipEntry
public:
ZipEntry^ UpdateEntry(
	String^ entryName, 
	WriteDelegate^ writer
)
Parameters
entryName (String)
The name, including any path, to use within the archive for the entry.
writer (WriteDelegate)
the delegate which will write the entry content.
Return Value
The ZipEntry added.
Remarks
Calling this method is equivalent to removing the ZipEntry for the given file name and directory path, if it exists, and then calling AddEntry(String, WriteDelegate). See the documentation for that method for further explanation.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)