Specifies the opening mode of the archive.

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

Syntax

Visual Basic
Public Enumeration ArchiveOpenMode
C#
public enum ArchiveOpenMode

Members

Member nameDescription
Supported by the .NET Compact FrameworkOpenOrCreate
Opens an existing archive file; otherwise, creates a new archive file. Empty file is treated as an empty archive.
Supported by the .NET Compact FrameworkCreateNew
Creates a new archive file. If the file already exists an exception is thrown. This requires ReadWrite.
Supported by the .NET Compact FrameworkCreate
Creates a new archive file. If the file already exists it is truncated to zero length. This requires ReadWrite.
Supported by the .NET Compact FrameworkOpen
Opens an existing archive file. If the file doesn't exists an exception is thrown. Empty file is treated as an empty archive.
Supported by the .NET Compact FrameworkTruncate
Opens an existing archive file and truncate it. If the file doesn't exists an exception is thrown. This requires ReadWrite.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also