UpdateEntry Method (entryName, content)

DotNetZip

Ionic Zip Library v1.9.1.6 UpdateEntry Method (entryName, content)
ReferenceIonic.ZipZipFileUpdateEntry(String, String)
Updates the given entry in the ZipFile, using the given string as content for the ZipEntry.
Declaration Syntax
C# Visual Basic Visual C++
public ZipEntry UpdateEntry(
	string entryName,
	string content
)
Public Function UpdateEntry ( _
	entryName As String, _
	content As String _
) As ZipEntry
public:
ZipEntry^ UpdateEntry(
	String^ entryName, 
	String^ content
)
Parameters
entryName (String)
The name, including any path, to use within the archive for the entry.
content (String)
The content of the file, should it be extracted from the zip.
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, String). See the documentation for that method for further explanation. The string content is encoded using the default encoding for the machine, or on Silverlight, using UTF-8. This encoding is distinct from the encoding used for the filename itself. See AlternateEncoding.

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