ExtractSelectedEntries Method (selectionCriteria, directoryInArchive, extractDirectory)

DotNetZip

Ionic Zip Library v1.9.1.6 ExtractSelectedEntries Method (selectionCriteria, directoryInArchive, extractDirectory)
ReferenceIonic.ZipZipFileExtractSelectedEntries(String, String, String)
Selects and Extracts a set of Entries from the ZipFile.
Declaration Syntax
C# Visual Basic Visual C++
public void ExtractSelectedEntries(
	string selectionCriteria,
	string directoryInArchive,
	string extractDirectory
)
Public Sub ExtractSelectedEntries ( _
	selectionCriteria As String, _
	directoryInArchive As String, _
	extractDirectory As String _
)
public:
void ExtractSelectedEntries(
	String^ selectionCriteria, 
	String^ directoryInArchive, 
	String^ extractDirectory
)
Parameters
selectionCriteria (String)
the selection criteria for entries to extract.
directoryInArchive (String)
the directory in the archive from which to select entries. If null, then all directories in the archive are used.
extractDirectory (String)
the directory on the disk into which to extract. It will be created if it does not exist.
Remarks

The entries are extracted into the specified directory. If any of the files to be extracted already exist, an exception will be thrown.

For information on the syntax of the string describing the entry selection criteria, see AddSelectedFiles(String).

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