Class FeatureCollection
A container for collection of FeatureCollectionTables.
Implements
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class FeatureCollection : ILoadable
Constructors
| Name | Description |
|---|---|
| FeatureCollection() | Initializes a new instance of the FeatureCollection class. |
| FeatureCollection(Item) | Initializes a new instance of the FeatureCollection class. |
| FeatureCollection(IEnumerable<FeatureCollectionTable>) | Initializes a new instance of the FeatureCollection class. |
Properties
| Name | Description |
|---|---|
| Item | Gets the ArcGIS Item |
| LoadError | Gets the Exception associated with the last load error. |
| LoadStatus | Gets the load status. |
| Tables | Gets the tables in the feature collection. |
Methods
| Name | Description |
|---|---|
| CancelLoad() | Cancel loading metadata for the object. |
| FromJson(String) | Serializes this object to a JSON string. |
| LoadAsync() | Load the metadata for the object asynchronously. |
| RetryLoadAsync() | Loads or retries loading metadata for the object asynchronously. |
| SaveAsAsync(ArcGISPortal, PortalFolder, String, String, IEnumerable<String>, RuntimeImage) | Save the FeatureCollection to a new PortalItem. |
| SaveAsAsync(ArcGISPortal, PortalFolder, String, String, IEnumerable<String>, RuntimeImage, CancellationToken) | Save the FeatureCollection to a new PortalItem. |
| SaveAsAsync(ArcGISPortal, PortalFolder, String, String, IEnumerable<String>, Uri) | Save the FeatureCollection to a new PortalItem. |
| SaveAsAsync(ArcGISPortal, PortalFolder, String, String, IEnumerable<String>, Uri, CancellationToken) | Save the FeatureCollection to a new PortalItem. |
| SaveAsync() | Save any changes that have been made to the FeatureCollection to the associated PortalItem. |
| SaveAsync(CancellationToken) | Save any changes that have been made to the FeatureCollection to the associated PortalItem. |
| ToJson() | Serializes this object to a JSON string. |
Events
| Name | Description |
|---|---|
| Loaded | Event that is raised when the object is done loading. |
| LoadStatusChanged | Event that is raised when the LoadStatus property changes. |
See Also
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |