Show / Hide Table of Contents

Class FeatureCollectionTable

A feature collection table represents an individual feature table in a FeatureCollection.

Inheritance
System.Object
FeatureTable
FeatureCollectionTable
Implements
System.ComponentModel.INotifyPropertyChanged
ILoadable
IPopupSource
IFeatureSet
System.Collections.Generic.IEnumerable<Feature>
System.Collections.IEnumerable
FeatureTable.Layer
FeatureTable.Extent
FeatureTable.IsPopupEnabled
FeatureTable.Fields
FeatureTable.GeometryType
FeatureTable.HasGeometry
FeatureTable.IsEditable
FeatureTable.LoadError
FeatureTable.LoadStatus
FeatureTable.NumberOfFeatures
FeatureTable.SpatialReference
FeatureTable.TableName
FeatureTable.HasM
FeatureTable.HasZ
FeatureTable.PopupDefinition
FeatureTable.DisplayName
FeatureTable.LoadAsync()
FeatureTable.RetryLoadAsync()
FeatureTable.AddFeatureAsync(Feature)
FeatureTable.AddFeaturesAsync(IEnumerable<Feature>)
FeatureTable.CanAdd()
FeatureTable.CanDelete(Feature)
FeatureTable.CanUpdate(Feature)
FeatureTable.CanEditGeometry()
FeatureTable.CancelLoad()
FeatureTable.CreateFeature()
FeatureTable.CreateFeature(IEnumerable<KeyValuePair<String, Object>>, Geometry)
FeatureTable.DeleteFeatureAsync(Feature)
FeatureTable.DeleteFeaturesAsync(IEnumerable<Feature>)
FeatureTable.GetField(String)
FeatureTable.GetPopupDefinition(Feature)
FeatureTable.QueryFeaturesAsync(QueryParameters)
FeatureTable.QueryFeaturesAsync(QueryParameters, CancellationToken)
FeatureTable.UpdateFeatureAsync(Feature)
FeatureTable.UpdateFeaturesAsync(IEnumerable<Feature>)
FeatureTable.QueryStatisticsAsync(StatisticsQueryParameters)
FeatureTable.QueryExtentAsync(QueryParameters)
FeatureTable.QueryFeatureCountAsync(QueryParameters)
FeatureTable.PropertyChanged
FeatureTable.Loaded
FeatureTable.LoadStatusChanged
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 class FeatureCollectionTable : FeatureTable, INotifyPropertyChanged, ILoadable, IPopupSource, IFeatureSet, IEnumerable<Feature>, IEnumerable
Remarks

A FeatureCollectionTable consists of a feature definition (table schema) and a set of features that match that feature definition. You can obtain a FeatureCollectionTable from an existing Tables collection or you can create a new FeatureCollectionTable programmatically in your app.

To create a new FeatureCollectionTable, you can use a constructor that defines a set of fields, the geometry type, and spatial reference, and then populate it by adding new features. Alternatively, you can create a new FeatureCollectionTable from an IFeatureSet, such as the FeatureQueryResult returned from QueryFeaturesAsync(QueryParameters).

To render the features in a map or scene, add the FeatureCollectionTable to a Tables collection, construct a FeatureCollectionLayer from the FeatureCollection, and add it to the map or scene's collection of operational layers. To specify the FeatureCollectionTable symbology, apply a renderer to the Renderer property. If required, you can override this symbology on a per-feature basis using the SetSymbolOverride(Feature, Symbol).

Constructors

Name Description
FeatureCollectionTable(IFeatureSet)

Initializes a new instance of the FeatureCollectionTable class from an IFeatureSet.

FeatureCollectionTable(IEnumerable<Field>, GeometryType, SpatialReference)

Initializes a new instance of the FeatureCollectionTable class.

FeatureCollectionTable(IEnumerable<Field>, GeometryType, SpatialReference, Boolean, Boolean)

Initializes a new instance of the FeatureCollectionTable class.

FeatureCollectionTable(IEnumerable<GeoElement>, IEnumerable<Field>)

Initializes a new instance of the FeatureCollectionTable class populated from the specified GeoElement collection.

Properties

Name Description
LayerInfo

Gets the ArcGISFeatureLayerInfo of this feature table.

Renderer

Gets or sets the renderer to use when rendering this feature collection table in a FeatureLayer.

Methods

Name Description
GetSymbolOverride(Feature)

Gets the symbol override for the given feature in the feature collection table.

SetPopupDefinitionOverride(Feature, PopupDefinition)

Sets the popup definition override for the given feature in the feature collection table.

SetSymbolOverride(Feature, Symbol)

Sets the symbol override for the given feature in the feature collection table.

Name Description
IEnumerable<Feature>.GetEnumerator()
IEnumerable.GetEnumerator()

See Also

FeatureCollectionLayer

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.