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 |
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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.4 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.4 - 200.8 |
| Xamarin.Android | 100.4 - 100.15 |
| Xamarin.iOS | 100.4 - 100.15 |
| UWP | 100.4 - 200.8 |
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.