Moves (renames) an archive item (file or directory) within the specified ZIP archive.

Namespace:  Rebex.IO.Compression
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public Shared Sub Move ( _
	zipFilePath As String, _
	fromPath As String, _
	toPath As String _
)
C#
public static void Move(
	string zipFilePath,
	string fromPath,
	string toPath
)

Parameters

zipFilePath
Type: System..::..String
Path to a ZIP archive file.
fromPath
Type: System..::..String
Original path to an archive item to move/rename.
toPath
Type: System..::..String
New path to move (rename) the archive item to.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also