Partager via


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

  • templateBytes
    Type : []

Valeur renvoyée

Type : Microsoft.SharePoint.Client.ListItem

Voir aussi

Référence

List classe

List - Membres

Microsoft.SharePoint.Client - Espace de noms