ArcGIS Pro 2.6 API Reference Guide
Create(FeatureLayer,Geometry,Action<Int64>) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class > Create Method : Create(FeatureLayer,Geometry,Action<Int64>) Method
The layer to create a new feature in.
The geometry of the new feature.
An optional callback that will be called with the resulting OID of the newly created featue.
Creates a new feature in the given layer given a geometry with default geodatabase values.
Syntax
Public Overloads Sub Create( _
   ByVal layer As FeatureLayer, _
   ByVal geometry As Geometry, _
   Optional ByVal result As Action(Of Long) _
) 

Parameters

layer
The layer to create a new feature in.
geometry
The geometry of the new feature.
result
An optional callback that will be called with the resulting OID of the newly created featue.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

EditOperation Class
EditOperation Members
Overload List