StreamInfo.CompressionOption Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the CompressionOption setting for the stream.

Namespace:   System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

public CompressionOption CompressionOption { get; }

Property Value

Type: System.IO.Packaging.CompressionOption

The compression option setting for the package stream.

If IDisposable.Dispose has been called on the stream, the CompressionOption property returns CompressionOption.NotCompressed.

.NET Framework
Available since 3.0
Return to top