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 _
) As ArchiveOperationResult
C#
public static ArchiveOperationResult Delete(
	string zipFilePath,
	string archivePathOrMask,
	TraversalMode mode
)

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.

Return Value

Operation result.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also