Share via


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

Return value

Type: Microsoft.SharePoint.Client.ListItem

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace