Метод List.CreateDocumentFromTemplate
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public Function CreateDocumentFromTemplate ( _
fileName As String, _
targetFolder As Folder, _
templateUrl As String _
) As ListItem
'Применение
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
)
Параметры
- fileName
Тип: System.String
- targetFolder
Тип: Microsoft.SharePoint.Client.Folder
- templateUrl
Тип: System.String
Возвращаемое значение
Тип: Microsoft.SharePoint.Client.ListItem