Click or drag to resize

FeatureCollectionSaveAsync Method

Save any changes that have been made to the FeatureCollection to the associated PortalItem.

Namespace:  Esri.ArcGISRuntime.Data
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.6.0.0
Syntax
C#
public Task SaveAsync()

Return Value

Type: Task
A task that represents the asynchronous save operation.
Exceptions
ExceptionCondition
InvalidOperationException
Remarks
Asynchronous method to save any changes that have been made to the FeatureCollection. The FeatureCollection must have been constructed using the FeatureCollection(PortalItem) constructor to associate it with a PortalItem object, and must be loaded, or must have been previous saved using SaveAsAsync(ArcGISPortal, PortalFolder, String, String, IEnumerableString, RuntimeImage).

Updates the FeatureCollection content data on the portal and also updates the portal item properties stored on the portal to match those stored within the FeatureCollection's PortalItem object.

See Also