List.CreateDocumentFromTemplateStream - Méthode
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Function CreateDocumentFromTemplateStream ( _
fileName As String, _
targetFolder As Folder, _
extension As String, _
templateStream As Stream _
) As ListItem
'Utilisation
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
)
Paramètres
- fileName
Type : System.String
- targetFolder
Type : Microsoft.SharePoint.Client.Folder
- extension
Type : System.String
- templateStream
Type : System.IO.Stream
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ListItem