ESRI.ArcGIS.Mobile
SaveEdits Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.MobileServices Namespace > FeatureLayer Class : SaveEdits Method

featureDataTable
Table containing edits
Applies the changes from the FeatureDataTable into the deleted, updated, and added features.

Syntax

Visual Basic (Declaration) 
Public Function SaveEdits( _
   ByVal featureDataTable As FeatureDataTable _
) As Integer
C# 
public int SaveEdits( 
   FeatureDataTable featureDataTable
)

Parameters

featureDataTable
Table containing edits

Return Value

The number of rows changed.

Remarks

If rows with errors are found they will be rejected. GetErrors on the FeatureDataTable will returns the rejected rows.

After calling the Update method, the new, modified, and deleted features are available via GetDataTable(QueryFilter, EsriEditState) method.

Update applies changes to MobileService. To post updates back to server, use MobileService.PostFeaturesAsync. For more information, see PostFeaturesAsync.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also