ArcGIS Pro 2.7 API Reference Guide
SaveAsync Method

ArcGIS.Desktop.Core Namespace > Project Class : SaveAsync Method
Saves the project
Syntax
public Task<bool> SaveAsync()
Public Function SaveAsync() As Task(Of Boolean)

Return Value

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

The project file (*.aprx) stored on disk is replaced by a new version of the file representing the current state of the project. For example, this ensures the maps and layouts you created will be available the next time you open this project. Data displayed in a map is not saved in the project; the connections used to access the data are saved.

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