Specifies the opening mode of the archive.
Namespace:
Rebex.IO.CompressionAssembly: Rebex.Zip (in Rebex.Zip.dll) Version: 1.0.4086.0
Syntax
| C# |
|---|
public enum ArchiveOpenMode |
| Visual Basic (Declaration) |
|---|
Public Enumeration ArchiveOpenMode |
| Visual C++ |
|---|
public enum class 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.
|