UpdateEntry Method (entryName, byteContent)

DotNetZip

Ionic Zip Library v1.9.1.6 UpdateEntry Method (entryName, byteContent)
ReferenceIonic.ZipZipFileUpdateEntry(String, array<Byte>[]()[][])
Updates the given entry in the ZipFile, using the given byte array as content for the entry.
Declaration Syntax
C# Visual Basic Visual C++
public ZipEntry UpdateEntry(
	string entryName,
	byte[] byteContent
)
Public Function UpdateEntry ( _
	entryName As String, _
	byteContent As Byte() _
) As ZipEntry
public:
ZipEntry^ UpdateEntry(
	String^ entryName, 
	array<unsigned char>^ byteContent
)
Parameters
entryName (String)
The name, including any path, to use within the archive for the entry.
byteContent (array<Byte>[]()[][])
The content to use for the ZipEntry.
Return Value
The ZipEntry added.
Remarks
Calling this method is equivalent to removing the ZipEntry for the given filename and directory path, if it exists, and then calling AddEntry(String, array<Byte>[]()[][]). See the documentation for that method for further explanation.

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