DocumentSet.Export Method (Stream, UInt32)
Packages and exports a DocumentSet object as a single compressed file.
Namespace: Microsoft.Office.DocumentManagement.DocumentSets
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Syntax
'Declaration
Public Sub Export ( _
stream As Stream, _
maxMBDocSet As UInteger _
)
'Usage
Dim instance As DocumentSet
Dim stream As Stream
Dim maxMBDocSet As UInteger
instance.Export(stream, maxMBDocSet)
public void Export(
Stream stream,
uint maxMBDocSet
)
Parameters
stream
Type: System.IO.StreamThe output stream to which the file will be written
maxMBDocSet
Type: System.UInt32The size limit of the export in megabytes
Remarks
If the resulting file will be larger than the size limit for export defined by the maxMBDocSet parameter, an exception will be thrown.