Office .NET Class Library
Show/Hide TOC

# CompoundFile(Stream) Constructor

Initializes a new instance of the CompoundFile class based on the supplied stream.

## Definition

Namespace: Independentsoft.IO.StructuredStorage
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public CompoundFile(
    	Stream stream
    )

VB

    Public Sub New (
    	stream As Stream
    )

#### Parameters

stream Stream
  A stream.

## See Also

#### Reference

CompoundFile Class
CompoundFile Overload
Independentsoft.IO.StructuredStorage Namespace