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
- fileName
Type: System.String
- targetFolder
Type: Microsoft.SharePoint.Client.Folder
- templateBytes
Type: []
- extension
Type: System.String
Return value
Type: Microsoft.SharePoint.Client.ListItem