DocumentSet.ImportDocumentSet method

Namespace:  Microsoft.SharePoint.Client.DocumentSet
Assembly:  Microsoft.SharePoint.Client.DocumentManagement (in Microsoft.SharePoint.Client.DocumentManagement.dll)

Syntax

'Declaration
Public Shared Function ImportDocumentSet ( _
    context As ClientRuntimeContext, _
    archiveStream As Stream, _
    archiveName As String, _
    parentFolder As Folder, _
    docsetContentTypeId As ContentTypeId _
) As DocumentSet
'Usage
Dim context As ClientRuntimeContext
Dim archiveStream As Stream
Dim archiveName As String
Dim parentFolder As Folder
Dim docsetContentTypeId As ContentTypeId
Dim returnValue As DocumentSet

returnValue = DocumentSet.ImportDocumentSet(context, _
    archiveStream, archiveName, parentFolder, _
    docsetContentTypeId)
public static DocumentSet ImportDocumentSet(
    ClientRuntimeContext context,
    Stream archiveStream,
    string archiveName,
    Folder parentFolder,
    ContentTypeId docsetContentTypeId
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.DocumentSet.DocumentSet

See also

Reference

DocumentSet class

DocumentSet members

Microsoft.SharePoint.Client.DocumentSet namespace