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

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionThe value specified an invalid value.
Rebex.IO.Compression..::..ZipExceptionNot supported compression method by the Rebex ZIP for .NET component.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also