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 name | Description | |
|---|---|---|
| OpenOrCreate |
Opens an existing archive file; otherwise, creates a new archive file.
Empty file is treated as an empty archive.
| |
| CreateNew |
Creates a new archive file. If the file already exists an exception is thrown.
This requires ReadWrite.
| |
| Create |
Creates a new archive file. If the file already exists it is truncated to zero length.
This requires ReadWrite.
| |
| Open |
Opens an existing archive file. If the file doesn't exists an exception is thrown.
Empty file is treated as an empty archive.
| |
| Truncate |
Opens an existing archive file and truncate it. If the file doesn't exists an exception is thrown.
This requires ReadWrite.
|