Show / Hide Table of Contents

Class FeatureTable

Represents a table from a database

Inheritance
System.Object
FeatureTable
ArcGISFeatureTable
FeatureCollectionTable
GeoPackageFeatureTable
OgcFeatureCollectionTable
ShapefileFeatureTable
WfsFeatureTable
Implements
System.ComponentModel.INotifyPropertyChanged
ILoadable
IPopupSource
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class FeatureTable : INotifyPropertyChanged, ILoadable, IPopupSource

Properties

Name Description
DisplayName

Gets or sets a user-friendly name that can be displayed in the UI (for example, in a Table of Contents).

Extent

Gets the geographic extent of features within the table.

Fields

Gets the fields of the feature table.

GeometryType

Gets the GeometryType of features in this table.

HasGeometry

Gets a value indicating whether this table has geometry data.

HasM

Gets a value indicating whether the shapefile geometries have M values.

HasZ

Gets a value indicating whether the shapefile geometries have Z values.

IsEditable

Gets a value indicating whether this table is editable.

IsPopupEnabled

Gets or sets a value indicating whether the PopupDefinition defined is enabled.

Layer

Gets the layer this table is associated with, or created from, if any.

LoadError

Gets the exception associated with a failed load. This property remains null if load is successful.

LoadStatus

Gets the current load status.

NumberOfFeatures

Gets the number of features in this table.

PopupDefinition

Gets or sets the pop-up definition for the table.

SpatialReference

Gets the SpatialReference of this table.

TableName

Gets the name of the table.

Methods

Name Description
AddFeatureAsync(Feature)

Asynchronously adds new Feature to the table.

AddFeaturesAsync(IEnumerable<Feature>)

Asynchronously adds the set of Features to the table.

CanAdd()

Determines if a feature can be added to the table.

CancelLoad()

Cancel the previous load operation,

CanDelete(Feature)

Determines if the specified Feature can be deleted from the table.

CanEditGeometry()

Determines if the table allows for the geometry field to be modified.

CanUpdate(Feature)

Determines if the specified Feature can be updated on the table.

CreateFeature()

Creates a new feature.

CreateFeature(IEnumerable<KeyValuePair<String, Object>>, Geometry)

Creates a new feature with specified attributes and geometry.

DeleteFeatureAsync(Feature)

Asynchronously deletes new Feature from the table.

DeleteFeaturesAsync(IEnumerable<Feature>)

Asynchronously deletes the set of Features from the table.

GetField(String)

Gets the associated Field with specified field name.

GetPopupDefinition(Feature)

Gets the popup definition for the given feature in the feature table.

LoadAsync()

Asynchronously initiates loading of this table.

QueryExtentAsync(QueryParameters)

Asynchronously queries the extent of all features that satisfy the provided parameters.

QueryFeatureCountAsync(QueryParameters)

Asynchronously queries the count of all features that satisfy the provided parameters.

QueryFeaturesAsync(QueryParameters)

Asynchronously performs query against the table.

QueryFeaturesAsync(QueryParameters, CancellationToken)

Asynchronously performs query against the table.

QueryStatisticsAsync(StatisticsQueryParameters)

Calculates values for the requested statistics.

RetryLoadAsync()

Asynchronously retries loading of this table table.

UpdateFeatureAsync(Feature)

Asynchronously updates new Feature on the table.

UpdateFeaturesAsync(IEnumerable<Feature>)

Asynchronously updates the set of Features on the table.

Events

Name Description
Loaded

Occurs when the table is loaded.

LoadStatusChanged

Occurs when the table LoadStatus is changed.

PropertyChanged

Occurs when a property value changes.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Relevant samples

Create, delete, and update features: Add, delete, and update features (geometry and attributes) in a feature layer.
Browse WFS layers: Browse a WFS service for layers and add them to the map.
Change feature layer renderer: Change the appearance of a feature layer with a renderer.
Custom dictionary style: Use a custom dictionary style (.stylx) to symbolize features using a variety of attribute values.
In This Article
Back to top Copyright © 2022 Esri.