Deletes files and/or directories from the specified ZIP archive.
Namespace:
Rebex.IO.Compression
Assembly:
Rebex.Zip (in Rebex.Zip.dll)
Syntax
Visual Basic |
---|
Public Shared Function Delete ( _ zipFilePath As String, _ archivePathOrMask As String, _ mode As TraversalMode, _ action As ArchiveSaveAction _ ) As ArchiveOperationResult |
C# |
---|
public static ArchiveOperationResult Delete( string zipFilePath, string archivePathOrMask, TraversalMode mode, ArchiveSaveAction action ) |
Parameters
- zipFilePath
- Type: System..::..String
Path to a ZIP archive file.
- archivePathOrMask
- Type: System..::..String
Path (with or without a mask) to an archive item(s).
- mode
- Type: Rebex.IO..::..TraversalMode
Traversal mode.
- action
- Type: Rebex.IO.Compression..::..ArchiveSaveAction
A save action.