Show / Hide Table of Contents

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

ArcGISFeature

Exceptions
Type Condition
InvalidOperationException

The ArcGISFeatureTable is not loaded.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.3 - 200.8
Xamarin.Android100.3 - 100.15
Xamarin.iOS100.3 - 100.15
UWP100.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

ArcGISFeature

Exceptions
Type Condition
InvalidOperationException

The ArcGISFeatureTable is not loaded.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.3 - 200.8
Xamarin.Android100.3 - 100.15
Xamarin.iOS100.3 - 100.15
UWP100.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

ArcGISFeature

Exceptions
Type Condition
ArgumentNullException

featureTemplate

InvalidOperationException

The ArcGISFeatureTable is not loaded.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.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

ArcGISFeature

Exceptions
Type Condition
ArgumentNullException

featureTemplate

InvalidOperationException

The ArcGISFeatureTable is not loaded.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.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

ArcGISFeature

Exceptions
Type Condition
ArgumentNullException

featureType

InvalidOperationException

The ArcGISFeatureTable is not loaded.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.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

ArcGISFeature

Exceptions
Type Condition
ArgumentNullException

featureType

InvalidOperationException

The ArcGISFeatureTable is not loaded.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.