ArcGIS Pro 2.7 API Reference Guide
SaveFromUntitled Method

ArcGIS.Desktop.Core Namespace > Project Class : SaveFromUntitled Method
Creates a new project from an untitled session
Syntax
public Task<Project> SaveFromUntitled( 
   string savePath,
   string projectName
)
Public Function SaveFromUntitled( _
   ByVal savePath As String, _
   ByVal projectName As String _
) As Task(Of Project)

Parameters

savePath
projectName

Return Value

A Task returning an indication if the operation was successful or not; true if the save operation succeeds
Remarks

Saving the project requires write access to the location where the project is stored. If another person is using the same project file at the same time, saving your changes will not succeed.

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Project Class
Project Members