MapSaveAsync Method (Boolean, CancellationToken)
Save any changes that have been made to the map to the associated PortalItem.
Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 22.214.171.124
public Task SaveAsync(
- Type: SystemBoolean
Flag to indicate whether the map should be saved to the supported webmap version that the API supports (see system requirements).
This may cause data loss as unknown data is not saved. If true, unknown data will be removed and the map will be saved.
If false, the operation will fail if the map contains unknown data that will not be saved. This flag can be used to provide
a warning to users that some map data may be lost when the map is saved.
- Type: System.ThreadingCancellationToken
A task that represents the asynchronous save operation.
Asynchronous method to save any changes that have been made to the map allowing cancellation. The map must have
been constructed using the Map(PortalItem) constructor to associate it with a PortalItem object, and must be
Updates the map content data on the portal and also updates the portal item properties stored on the portal to
match those stored within the map's PortalItem object.