Share via


List.CreateDocumentFromTemplateBytes method

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

Syntax

'Declaration
Public Function CreateDocumentFromTemplateBytes ( _
    fileName As String, _
    targetFolder As Folder, _
    templateBytes As Byte(), _
    extension As String _
) As ListItem
'Usage
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
)

Parameters

  • templateBytes
    Type: []

Return value

Type: Microsoft.SharePoint.Client.ListItem

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace