List.CreateDocumentFromTemplateUsingPath method
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function CreateDocumentFromTemplateUsingPath ( _
filePath As ResourcePath, _
targetFolder As Folder, _
templatePath As ResourcePath _
) As ListItem
'Usage
Dim instance As List
Dim filePath As ResourcePath
Dim targetFolder As Folder
Dim templatePath As ResourcePath
Dim returnValue As ListItem
returnValue = instance.CreateDocumentFromTemplateUsingPath(filePath, _
targetFolder, templatePath)
public ListItem CreateDocumentFromTemplateUsingPath(
ResourcePath filePath,
Folder targetFolder,
ResourcePath templatePath
)
Parameters
- filePath
Type: Microsoft.SharePoint.Client.ResourcePath
- targetFolder
Type: Microsoft.SharePoint.Client.Folder
- templatePath
Type: Microsoft.SharePoint.Client.ResourcePath
Return value
Type: Microsoft.SharePoint.Client.ListItem