Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DeflateStream Constructor

 

Initializes a new instance of the DeflateStream class.

Namespace:   System.IO.Compression
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodDeflateStream(Stream^, CompressionLevel)

Initializes a new instance of the DeflateStream class by using the specified stream and compression level.

System_CAPS_pubmethodDeflateStream(Stream^, CompressionLevel, Boolean)

Initializes a new instance of the DeflateStream class by using the specified stream and compression level, and optionally leaves the stream open.

System_CAPS_pubmethodDeflateStream(Stream^, CompressionMode)

Initializes a new instance of the DeflateStream class by using the specified stream and compression mode.

System_CAPS_pubmethodDeflateStream(Stream^, CompressionMode, Boolean)

Initializes a new instance of the DeflateStream class by using the specified stream and compression mode, and optionally leaves the stream open.

Using the DeflateStream class to compress a file larger than 4 GB will cause an exception.

Return to top
Show:
© 2017 Microsoft