UpdateEntry Method (entryName, opener, closer)

DotNetZip

Ionic Zip Library v1.9.1.6 UpdateEntry Method (entryName, opener, closer)
ReferenceIonic.ZipZipFileUpdateEntry(String, OpenDelegate, CloseDelegate)
Updates the given entry in the ZipFile, using the given delegates to open and close the stream that provides the content for the ZipEntry.
Declaration Syntax
C# Visual Basic Visual C++
public ZipEntry UpdateEntry(
	string entryName,
	OpenDelegate opener,
	CloseDelegate closer
)
Public Function UpdateEntry ( _
	entryName As String, _
	opener As OpenDelegate, _
	closer As CloseDelegate _
) As ZipEntry
public:
ZipEntry^ UpdateEntry(
	String^ entryName, 
	OpenDelegate^ opener, 
	CloseDelegate^ closer
)
Parameters
entryName (String)
The name, including any path, to use within the archive for the entry.
opener (OpenDelegate)
the delegate that will be invoked to open the stream
closer (CloseDelegate)
the delegate that will be invoked to close the stream
Return Value
The ZipEntry added or updated.
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, OpenDelegate, CloseDelegate). See the documentation for that method for further explanation.

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