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)