Share via


DocumentSet.Export Method

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 Function Export As Byte()
'Usage
Dim instance As DocumentSet
Dim returnValue As Byte()

returnValue = instance.Export()
public byte[] Export()

Return Value

Type: []
The resulting file as a byte array.
Exports the whole document set as a byte array. For use with streams, use one of the overloads with a stream parameter.

See Also

Reference

DocumentSet Class

DocumentSet Members

Export Overload

Microsoft.Office.DocumentManagement.DocumentSets Namespace

Export(Stream)

Export(Stream, UInt32)

GetDocumentSet(SPFolder)