Class FeatureTemplate
Defines the default attribute values for the fields of a newly created Arc
Inheritance
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class FeatureTemplate
Remarks
The owner of the ArcGIS feature service can define one or more feature templates when they publish the service.
These are held within the "Templates" tag of the ArcGIS feature service's REST Services Directory. Each template
has a name, description, suggested drawing tool, and a list of attributes with their initial values (called
prototype). You can get the feature service's collection of feature templates from the
Feature
If you are building an editing application, you can present users with a list of feature templates. Upon
choosing a template, the app can create a feature with the attributes populated with their default values and
present geometry sketching tools to match the Drawing
Properties
Name | Description |
---|---|
Description | Gets the description of the feature template. |
Drawing |
Gets the type of drawing tool that could be used to draw this feature in an editing application. |
Name | Gets the name of the feature template. |
Prototype |
Gets the default attribute values used when creating a Feature |
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 |