Class ServiceFeatureTable
A table of features that typically represent real-world objects created from an ArcGIS feature service.
Implements
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ServiceFeatureTable : ArcGISFeatureTable, INotifyPropertyChanged, ILoadable, IFeatureFormSource, IApiKeyResource
Remarks
A service feature table has a Feature
If the table's mode is On
If the table's mode is On
If the table's mode is Manual
If the table's feature request mode is On
-
Call Load
Async() on each returned feature individually. -
Call the query method and pass the constant Load
All , which performs the query and returns features fully loaded (with all attributes and any m-values defined by the service). See QueryFeatures and QueryAsync(Query Parameters, Query Feature Fields) Related .Features Async(Arc GISFeature, Related Query Parameters, Query Feature Fields) - Call LoadOrRefreshFeaturesAsync(IEnumerable<Feature>) and pass a mutable array of features to be loaded.
When used to create a Feature
You can use a service feature table to access non-spatial tables from feature services where
Has
The parent class definition allows a service feature table to have editable attribute fields, feature
templates, feature types, and editing capabilities defined in Capabilities.
See Feature
A service feature table might require authentication to access the service.
Constructors
Name | Description |
---|---|
Service |
Initializes a new instance of the Service |
Service |
Initializes a new instance of the Service |
Service |
Initializes a new instance of the Service |
Service |
Initializes a new instance of the Service |
Properties
Name | Description |
---|---|
Api |
Gets or sets the API key that allows your app to access ArcGIS location services and private portal items. |
Buffer |
Gets or sets the factor used to calculate a buffered extent around the current visible area when requesting new features from the service. |
Definition |
Gets or sets the expression which is a SQL statement WHERE clause to filter out the features to be queried. |
Feature |
Gets or sets the mode defining when features are requested from the service. |
Geodatabase |
Gets or sets the geodatabase version. |
Item | Gets the ArcGIS Item |
Service |
Gets the Service |
Source | Gets or sets the ArcGIS REST service endpoint. |
Methods
Name | Description |
---|---|
Apply |
Asynchronously uploads any changes to the local table to the feature service. |
Apply |
Asynchronously uploads any changes to the local table to the feature service. |
Clear |
Clears cached data. |
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. |
PopulateFromServiceAsync(QueryParameters, Boolean, IEnumerable<String>) | Queries the feature service and places the resulting features in the local table, which
is cached for the duration of the session. The Service |
PopulateFromServiceAsync(QueryParameters, Boolean, IEnumerable<String>, CancellationToken) | Asynchronously performs manual query of data from the service and imports feature results into the table. |
Query |
Queries features from this table's cache and/or from the feature service used to create this table. |
Query |
Asynchronously submits a query against the table. |
Query |
Asynchronously queries for related features in this service feature table using the provided parameters and
query feature fields. See Query |
Undo |
Undoes all of the local edits since the last server acknowledgment. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |