Windows Dev Center

CompressAlgorithm enumeration

Identifies a compression algorithm to use when creating an instance of a compressor.

Syntax


var value = Windows.Storage.Compression.CompressAlgorithm.invalidAlgorithm;

Members

The CompressAlgorithm enumeration has these members.

MemberValueDescription
InvalidAlgorithm | invalidAlgorithm0

This value represents an invalid compression algorithm. It is useful primarily for error checking.

NullAlgorithm | nullAlgorithm1

This value represents an algorithm that passes data through with no compression. It is useful primarily for testing.

Mszip | mszip2

The compressor will use the MSZIP compression algorithm.

Xpress | xpress3

The compressor will use the XPRESS compression algorithm.

XpressHuff | xpressHuff4

The compressor will use the XPRESS compression algorithm with Huffman encoding.

Lzms | lzms5

The compressor will use the LZMS compression algorithm.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage.Compression
Windows::Storage::Compression [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.Compression
Windows::Storage::Compression [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

 

 

Show:
© 2015 Microsoft