List.CreateDocument 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 CreateDocument ( _
fileName As String, _
targetFolder As Folder, _
templateType As DocumentTemplateType _
) As ListItem
'Uso
Dim instance As List
Dim fileName As String
Dim targetFolder As Folder
Dim templateType As DocumentTemplateType
Dim returnValue As ListItem
returnValue = instance.CreateDocument(fileName, _
targetFolder, templateType)
public ListItem CreateDocument(
string fileName,
Folder targetFolder,
DocumentTemplateType templateType
)
Parâmetros
- fileName
Tipo: System.String
- targetFolder
Tipo: Microsoft.SharePoint.Client.Folder
- templateType
Tipo: Microsoft.SharePoint.Client.DocumentTemplateType
Valor retornado
Tipo: Microsoft.SharePoint.Client.ListItem