List.CreateDocument method

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

Syntax

'Declaration
Public Function CreateDocument ( _
    fileName As String, _
    targetFolder As Folder, _
    templateType As DocumentTemplateType _
) As ListItem
'Usage
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
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ListItem

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace