Class FeatureCollectionTable
A feature collection table represents an individual feature table in a FeatureCollection.
Implements
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class FeatureCollectionTable : FeatureTable, INotifyPropertyChanged, ILoadable, 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. |
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
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |