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
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- archiveStream
Type: System.IO.Stream
- archiveName
Type: System.String
- parentFolder
Type: Microsoft.SharePoint.Client.Folder
- docsetContentTypeId
Type: Microsoft.SharePoint.Client.ContentTypeId
Return value
Type: Microsoft.SharePoint.Client.DocumentSet.DocumentSet