Delete features from an online feature service.
Sometimes users may want to delete features from an online feature service.
To delete a feature, tap it, then tap 'Delete incident'.
- Create a
ServiceFeatureTable
object from a URL. - Create a
FeatureLayer
object from the service feature table. - Select features from the feature layer via
FeatureLayer.SelectFeatures()
. - Remove the selected features from the service feature table using
ServiceFeatureTable.DeleteFeatureAsync()
. - Update the table on the server using
ServiceFeatureTable.ApplyEditsAsync()
.
- Feature
- FeatureLayer
- ServiceFeatureTable
deletion, feature, online, Service, table