DocumentSet.ImportDocumentSet - Méthode (ClientRuntimeContext, Byte[], String, Folder, ContentTypeId, User)
Espace de noms : Microsoft.SharePoint.Client.DocumentSet
Assemblys : Microsoft.SharePoint.Client.DocumentManagement.Silverlight (dans Microsoft.SharePoint.Client.DocumentManagement.Silverlight.dll); Microsoft.SharePoint.Client.DocumentManagement.Phone (dans Microsoft.SharePoint.Client.DocumentManagement.Phone.dll)
Syntaxe
'Déclaration
Public Shared Function ImportDocumentSet ( _
context As ClientRuntimeContext, _
archiveData As Byte(), _
archiveName As String, _
parentFolder As Folder, _
docsetContentTypeId As ContentTypeId, _
user As User _
) As DocumentSet
'Utilisation
Dim context As ClientRuntimeContext
Dim archiveData As Byte()
Dim archiveName As String
Dim parentFolder As Folder
Dim docsetContentTypeId As ContentTypeId
Dim user As User
Dim returnValue As DocumentSet
returnValue = DocumentSet.ImportDocumentSet(context, _
archiveData, archiveName, parentFolder, _
docsetContentTypeId, user)
public static DocumentSet ImportDocumentSet(
ClientRuntimeContext context,
byte[] archiveData,
string archiveName,
Folder parentFolder,
ContentTypeId docsetContentTypeId,
User user
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
- archiveData
Type : []
- archiveName
Type : System.String
- parentFolder
Type : Microsoft.SharePoint.Client.Folder
- docsetContentTypeId
Type : Microsoft.SharePoint.Client.ContentTypeId
- user
Type : Microsoft.SharePoint.Client.User
Valeur renvoyée
Type : Microsoft.SharePoint.Client.DocumentSet.DocumentSet