PowerTCP Zip Compression for .NET
CompressionMethod Property




Gets or sets the compression algorithm used for data compression on this item.
Syntax
Public Property CompressionMethod As CompressionMethod
Dim instance As ArchiveItem
Dim value As CompressionMethod
 
instance.CompressionMethod = value
 
value = instance.CompressionMethod
public CompressionMethod CompressionMethod {get; set;}
public: __property CompressionMethod get_CompressionMethod();
public: __property void set_CompressionMethod( 
   CompressionMethod value
);
public:
property CompressionMethod CompressionMethod {
   CompressionMethod get();
   void set (    CompressionMethod value);
}

Property Value

CompressionMethod value specifying the method used for data compression. The default value is CompressionMethod.Deflate.
Remarks

During a collection level compression operation, if ArchiveItem.CompressionMethod is set, the value of DefaultCompressionMethod is ignored when compressing that item. If ArchiveItem.CompressionMethod is not set, the value of DefaultCompressionMethod is used during a compression operation.

Setting CompressionMethod.Store will archive the data to a zip file without performing any compression.

See Also

Reference

ArchiveItem Class
ArchiveItem Members


PowerTCP Zip for .NET Documentation Version 2.1.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic