Compartilhar via


List.CreateDocumentFromTemplateBytes método

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (em Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (em Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (em Microsoft.SharePoint.Client.dll)

Sintaxe

'Declaração
Public Function CreateDocumentFromTemplateBytes ( _
    fileName As String, _
    targetFolder As Folder, _
    templateBytes As Byte(), _
    extension As String _
) As ListItem
'Uso
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
)

Parâmetros

  • templateBytes
    Tipo: []

Valor retornado

Tipo: Microsoft.SharePoint.Client.ListItem

Ver também

Referência

List classe

List membros

Microsoft.SharePoint.Client namespace