Gets or sets the compression method to be used by Add(String) and AddFile(String) methods.
Namespace:
Rebex.IO.Compression
Assembly:
Rebex.Zip (in Rebex.Zip.dll)
Syntax
| Visual Basic |
|---|
Public Property CompressionMethod As CompressionMethod Get Set |
| C# |
|---|
public CompressionMethod CompressionMethod { get; set; } |
Field Value
Compression method.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | The value specified an invalid value. |
| Rebex.IO.Compression..::..ZipException | Not supported compression method by the Rebex ZIP for .NET component. |