UpdateFiles Method (fileNames)

DotNetZip

Ionic Zip Library v1.9.1.6 UpdateFiles Method (fileNames)
ReferenceIonic.ZipZipFileUpdateFiles(IEnumerable<(Of <<'(String>)>>))
Adds or updates a set of files in the ZipFile.
Declaration Syntax
C# Visual Basic Visual C++
public void UpdateFiles(
	IEnumerable<string> fileNames
)
Public Sub UpdateFiles ( _
	fileNames As IEnumerable(Of String) _
)
public:
void UpdateFiles(
	IEnumerable<String^>^ fileNames
)
Parameters
fileNames (IEnumerable<(Of <(<'String>)>)>)
The collection of names of the files to update. Each string should refer to a file in the filesystem. The name of the file may be a relative path or a fully-qualified path.
Remarks

Any files that already exist in the archive are updated. Any files that don't yet exist in the archive are added.

For ZipFile properties including Encryption, Password, SetCompression, ProvisionalAlternateEncoding, ExtractExistingFile, ZipErrorAction, and CompressionLevel, their respective values at the time of this call will be applied to each ZipEntry added.

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