Share via


List.CreateDocumentFromTemplateStream method

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Function CreateDocumentFromTemplateStream ( _
    fileName As String, _
    targetFolder As Folder, _
    extension As String, _
    templateStream As Stream _
) As ListItem
'Usage
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
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ListItem

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace