Method HasLocalEdits
HasLocalEdits()
Checks whether the feature table has local edits.
Declaration
public bool HasLocalEdits()
Returns
| Type | Description |
|---|---|
| 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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.10 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.10 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.10 - 100.12 |
| Xamarin.Android | 100.10 - 100.15 |
| Xamarin.iOS | 100.10 - 100.15 |
| UWP | 100.10 - 100.15 |