del método List.CreateDocument
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 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 devuelto
Tipo: Microsoft.SharePoint.Client.ListItem