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

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.3 - 200.7
Xamarin.Android100.3 - 100.15
Xamarin.iOS100.3 - 100.15
UWP100.3 - 200.7

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

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.3 - 200.7
Xamarin.Android100.3 - 100.15
Xamarin.iOS100.3 - 100.15
UWP100.3 - 200.7

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
System.ArgumentNullException

featureTemplate

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

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
System.ArgumentNullException

featureTemplate

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

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
System.ArgumentNullException

featureType

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

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
System.ArgumentNullException

featureType

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.