StreamInfo.CompressionOption Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
Show: