Method CreateFeature
CreateFeature()
Creates a new feature.
Declaration
public Feature CreateFeature()
Returns
Type | Description |
---|---|
Feature | New Feature |
Applies to
Platforms and versions
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 |
Relevant samples
Create, delete, and update features: Add, delete, and update features (geometry and attributes) in a feature layer.
Geodatabase transactions: Use transactions to manage how changes are committed to a geodatabase.
CreateFeature(IEnumerable<KeyValuePair<String, Object>>, Geometry)
Creates a new feature with specified attributes and geometry.
Declaration
public Feature CreateFeature(IEnumerable<KeyValuePair<string, object>> attributes, Geometry geometry)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Object>> | attributes | The attributes. |
Geometry | geometry | The geometry. |
Returns
Type | Description |
---|---|
Feature | A new Feature. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |