Method LoadOrRefreshFeaturesAsync
LoadOrRefreshFeaturesAsync(IEnumerable<Feature>)
Loads all attributes and geometries for not loaded features, and re-fetches attributes and geometries for previously loaded features. All features loaded or refreshed by this method will have m-values if defined by the service. Note that an m-value might be NaN.
Declaration
public async Task LoadOrRefreshFeaturesAsync(IEnumerable<Feature> features)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Feature> | features | set of Features to load or refresh from the table. |
Returns
Type | Description |
---|---|
Task | A task that represents the asynchronous load or refresh of features operation. |
Remarks
Features you get from QueryFeaturesAsync(QueryParameters, QueryFeatureFields) or QueryRelatedFeaturesAsync(ArcGISFeature, RelatedQueryParameters, QueryFeatureFields) might be in the minimally loaded state (minimum attributes required for rendering and no m-values). To load all attributes, pass a mutable array of the features to this method.
Any feature requested, but not returned, by the server will have its object id cleared (set to an invalid negative value) to indicate it is no longer associated with the service feature table.
After calling this method, any non-applied edits on the table will be lost.
This method will not refresh feature attachments. Use GetAttachmentsAsync() to retrieve attachments.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.3 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.3 - 100.15 |
Xamarin.iOS | 100.3 - 100.15 |
UWP | 100.3 - 100.14 |