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 Task LoadOrRefreshFeaturesAsync(IEnumerable<Feature> features)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Feature> | features | set of Features to load or refresh from the table. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.3 - 200.6 |
Xamarin.Android | 100.3 - 100.14 |
Xamarin.iOS | 100.3 - 100.15 |
UWP | 100.3 - 200.6 |