List.CreateDocumentFromTemplate-Methode
Namespace: Microsoft.SharePoint.Client
Assemblys: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll) 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
)
Parameter
- fileName
Typ: System.String
- targetFolder
Typ: Microsoft.SharePoint.Client.Folder
- templateUrl
Typ: System.String
Rückgabewert
Typ: Microsoft.SharePoint.Client.ListItem