Метод List.CreateDocumentFromTemplateBytes
Пространство имен: 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 CreateDocumentFromTemplateBytes ( _
fileName As String, _
targetFolder As Folder, _
templateBytes As Byte(), _
extension As String _
) As ListItem
'Применение
Dim instance As List
Dim fileName As String
Dim targetFolder As Folder
Dim templateBytes As Byte()
Dim extension As String
Dim returnValue As ListItem
returnValue = instance.CreateDocumentFromTemplateBytes(fileName, _
targetFolder, templateBytes, extension)
public ListItem CreateDocumentFromTemplateBytes(
string fileName,
Folder targetFolder,
byte[] templateBytes,
string extension
)
Параметры
- fileName
Тип: System.String
- targetFolder
Тип: Microsoft.SharePoint.Client.Folder
- templateBytes
Тип: []
- extension
Тип: System.String
Возвращаемое значение
Тип: Microsoft.SharePoint.Client.ListItem