List.CreateDocumentFromTemplateBytes - Méthode
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Function CreateDocumentFromTemplateBytes ( _
fileName As String, _
targetFolder As Folder, _
templateBytes As Byte(), _
extension As String _
) As ListItem
'Utilisation
Dim instance As List
Dim fileName As String
Dim targetFolder As Folder
Dim templateBytes As Byte()
Dim extension As String
Dim returnValue As ListItem
returnValue = instance.CreateDocumentFromTemplateBytes(fileName, _
targetFolder, templateBytes, extension)
public ListItem CreateDocumentFromTemplateBytes(
string fileName,
Folder targetFolder,
byte[] templateBytes,
string extension
)
Paramètres
- fileName
Type : System.String
- targetFolder
Type : Microsoft.SharePoint.Client.Folder
- templateBytes
Type : []
- extension
Type : System.String
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ListItem