Show / Hide Table of Contents

Method Refresh

Refresh()

Resets the attributes and geometry to the values in the data source.

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

If true, the geometry or attributes were updated; otherwise, false false.

Remarks

Discards any in-memory changes to the feature that have not been applied to its table, and reloads the feature's geometry and all attributes.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.4 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.4 - 200.7
Xamarin.Android100.4 - 100.15
Xamarin.iOS100.4 - 100.15
UWP100.4 - 200.7
Relevant samples
Create, delete, and update features: Add, delete, and update features (geometry and attributes) in a feature layer.
Edit feature attachments: Add, delete, and download attachments for features from a service.
In This Article
Back to top Copyright © 2022 Esri.