Method CreateFeature
CreateFeature(FeatureSubtype)
Creates and returns a new ArcGISFeature based on the specified FeatureSubtype.
Declaration
public ArcGISFeature CreateFeature(FeatureSubtype featureSubtype)
Parameters
| Type | Name | Description |
|---|---|---|
| FeatureSubtype | featureSubtype | The FeatureSubtype used for creating the new feature. |
Returns
| Type | Description |
|---|---|
| ArcGISFeature |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | The ArcGISFeatureTable is not loaded. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.0 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.3 - 200.8 |
| Xamarin.Android | 100.3 - 100.15 |
| Xamarin.iOS | 100.3 - 100.15 |
| UWP | 100.3 - 200.8 |
CreateFeature(FeatureSubtype, Geometry?)
Creates and returns a new ArcGISFeature based on the specified FeatureSubtype and Geometry.
Declaration
public ArcGISFeature CreateFeature(FeatureSubtype featureSubtype, Geometry? geometry)
Parameters
| Type | Name | Description |
|---|---|---|
| FeatureSubtype | featureSubtype | The FeatureSubtype used for creating the new feature. |
| Geometry | geometry | The Geometry used for creating the new feature. |
Returns
| Type | Description |
|---|---|
| ArcGISFeature |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | The ArcGISFeatureTable is not loaded. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.0 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.3 - 200.8 |
| Xamarin.Android | 100.3 - 100.15 |
| Xamarin.iOS | 100.3 - 100.15 |
| UWP | 100.3 - 200.8 |
CreateFeature(FeatureTemplate)
Creates and returns a new ArcGISFeature based on the specified FeatureTemplate.
Declaration
public ArcGISFeature CreateFeature(FeatureTemplate featureTemplate)
Parameters
| Type | Name | Description |
|---|---|---|
| FeatureTemplate | featureTemplate | The FeatureTemplate used for creating the new feature. |
Returns
| Type | Description |
|---|---|
| ArcGISFeature |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | featureTemplate |
| InvalidOperationException | The ArcGISFeatureTable is not loaded. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.0 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |
CreateFeature(FeatureTemplate, Geometry?)
Creates and returns a new ArcGISFeature based on the specified FeatureTemplate and Geometry.
Declaration
public ArcGISFeature CreateFeature(FeatureTemplate featureTemplate, Geometry? geometry)
Parameters
| Type | Name | Description |
|---|---|---|
| FeatureTemplate | featureTemplate | The FeatureTemplate used for creating the new feature. |
| Geometry | geometry | The Geometry used for creating the new feature. |
Returns
| Type | Description |
|---|---|
| ArcGISFeature |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | featureTemplate |
| InvalidOperationException | The ArcGISFeatureTable is not loaded. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.0 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |
CreateFeature(FeatureType)
Creates and returns a new ArcGISFeature based on the specified FeatureType.
Declaration
public ArcGISFeature CreateFeature(FeatureType featureType)
Parameters
| Type | Name | Description |
|---|---|---|
| FeatureType | featureType | The FeatureType used for creating the new feature. |
Returns
| Type | Description |
|---|---|
| ArcGISFeature |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | featureType |
| InvalidOperationException | The ArcGISFeatureTable is not loaded. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.0 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |
CreateFeature(FeatureType, Geometry?)
Creates and returns a new ArcGISFeature based on the specified FeatureType and Geometry.
Declaration
public ArcGISFeature CreateFeature(FeatureType featureType, Geometry? geometry)
Parameters
| Type | Name | Description |
|---|---|---|
| FeatureType | featureType | The FeatureType used for creating the new feature. |
| Geometry | geometry | The Geometry used for creating the new feature. |
Returns
| Type | Description |
|---|---|
| ArcGISFeature |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | featureType |
| InvalidOperationException | The ArcGISFeatureTable is not loaded. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.0 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |