del método List.CreateDocumentFromTemplateStream
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 CreateDocumentFromTemplateStream ( _
fileName As String, _
targetFolder As Folder, _
extension As String, _
templateStream As Stream _
) As ListItem
'Uso
Dim instance As List
Dim fileName As String
Dim targetFolder As Folder
Dim extension As String
Dim templateStream As Stream
Dim returnValue As ListItem
returnValue = instance.CreateDocumentFromTemplateStream(fileName, _
targetFolder, extension, templateStream)
public ListItem CreateDocumentFromTemplateStream(
string fileName,
Folder targetFolder,
string extension,
Stream templateStream
)
Parámetros
- fileName
Tipo: System.String
- targetFolder
Tipo: Microsoft.SharePoint.Client.Folder
- extension
Tipo: System.String
- templateStream
Tipo: System.IO.Stream
Valor devuelto
Tipo: Microsoft.SharePoint.Client.ListItem