del método List.CreateDocumentFromTemplate
Espacio de nombres: Microsoft.SharePoint.Client
Ensamblados: Microsoft.SharePoint.Client.Silverlight (en Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (en Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (en Microsoft.SharePoint.Client.dll)
Sintaxis
'Declaración
Public Function CreateDocumentFromTemplate ( _
fileName As String, _
targetFolder As Folder, _
templateUrl As String _
) As ListItem
'Uso
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
)
Parámetros
- fileName
Tipo: System.String
- targetFolder
Tipo: Microsoft.SharePoint.Client.Folder
- templateUrl
Tipo: System.String
Valor devuelto
Tipo: Microsoft.SharePoint.Client.ListItem