List.CreateDocumentFromTemplate method
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function CreateDocumentFromTemplate ( _
fileName As String, _
targetFolder As Folder, _
templateUrl As String _
) As ListItem
'Usage
Dim instance As List
Dim fileName As String
Dim targetFolder As Folder
Dim templateUrl As String
Dim returnValue As ListItem
returnValue = instance.CreateDocumentFromTemplate(fileName, _
targetFolder, templateUrl)
public ListItem CreateDocumentFromTemplate(
string fileName,
Folder targetFolder,
string templateUrl
)
Parameters
- fileName
Type: System.String
- targetFolder
Type: Microsoft.SharePoint.Client.Folder
- templateUrl
Type: System.String
Return value
Type: Microsoft.SharePoint.Client.ListItem