ExtractExistingFile Property

DotNetZip

Ionic Zip Library v1.9.1.6 ExtractExistingFile Property
ReferenceIonic.ZipZipFileExtractExistingFile
The action the library should take when extracting a file that already exists.
Declaration Syntax
C# Visual Basic Visual C++
public ExtractExistingFileAction ExtractExistingFile { get; set; }
Public Property ExtractExistingFile As ExtractExistingFileAction
	Get
	Set
public:
property ExtractExistingFileAction ExtractExistingFile {
	ExtractExistingFileAction get ();
	void set (ExtractExistingFileAction value);
}
Remarks

This property affects the behavior of the Extract methods (one of the Extract() or ExtractWithPassword() overloads), when extraction would would overwrite an existing filesystem file. If you do not set this property, the library throws an exception when extracting an entry would overwrite an existing file.

This property has no effect when extracting to a stream, or when the file to be extracted does not already exist.

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