DocumentSet.Import method (Byte[], String, SPFolder)

Imports a DocumentSet object.

Namespace:  Microsoft.Office.DocumentManagement.DocumentSets
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
Public Shared Function Import ( _
    archiveData As Byte(), _
    archiveName As String, _
    parentFolder As SPFolder _
) As DocumentSet
'Usage
Dim archiveData As Byte()
Dim archiveName As String
Dim parentFolder As SPFolder
Dim returnValue As DocumentSet

returnValue = DocumentSet.Import(archiveData, _
    archiveName, parentFolder)
public static DocumentSet Import(
    byte[] archiveData,
    string archiveName,
    SPFolder parentFolder
)

Parameters

  • archiveData
    Type: []

    An array that contains a Package representation of the DocumentSet object to be imported.

Return value

Type: Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet
The new DocumentSet object.

Remarks

This function expects a file that was created by using the Export() method.

See also

Reference

DocumentSet class

DocumentSet members

Import overload

Microsoft.Office.DocumentManagement.DocumentSets namespace