List.CreateDocumentFromTemplate - Méthode
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Function CreateDocumentFromTemplate ( _
fileName As String, _
targetFolder As Folder, _
templateUrl As String _
) As ListItem
'Utilisation
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
)
Paramètres
- fileName
Type : System.String
- targetFolder
Type : Microsoft.SharePoint.Client.Folder
- templateUrl
Type : System.String
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ListItem