Share via


List.CreateDocumentWithDefaultName method

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

Syntax

'Declaration
Public Function CreateDocumentWithDefaultName ( _
    folderPath As String, _
    extension As String _
) As ClientResult(Of String)
'Usage
Dim instance As List
Dim folderPath As String
Dim extension As String
Dim returnValue As ClientResult(Of String)

returnValue = instance.CreateDocumentWithDefaultName(folderPath, _
    extension)
public ClientResult<string> CreateDocumentWithDefaultName(
    string folderPath,
    string extension
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<String>

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace