Show / Hide Table of Contents

Method HasLocalEdits

HasLocalEdits()

Checks whether the feature table has local edits.

Declaration
public bool HasLocalEdits()
Returns
Type Description
System.Boolean

A value indicating whether the table has local edits.

Remarks

For ServiceFeatureTable, local edits are edits that have not yet been applied to the feature service. For GeodatabaseFeatureTable, local edits are edits that have been made since the last acknowledged upload.

For mobile geodatabases created by ArcGIS Pro, this method returns false because there is no concept of uploading or applying edits.

For mobile geodatabases, use HasLocalEditsSince(DateTimeOffset).

Exceptions
Type Condition
GeodatabaseChangeTrackingNotEnabledException

When called on a table is not change tracked.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.10 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.10 - 200.7
Xamarin.Android100.10 - 100.15
Xamarin.iOS100.10 - 100.15
UWP100.10 - 200.7
In This Article
Back to top Copyright © 2022 Esri.