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
- folderPath
Type: System.String
- extension
Type: System.String
Return value
Type: Microsoft.SharePoint.Client.ClientResult<String>