ArcGIS Pro 2.9 API Reference Guide
Create(EditingTemplate,Geometry,Action<Int64>) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class > Create Method : Create(EditingTemplate,Geometry,Action<Int64>) Method
Editing template used to create a feature.
Geometry used to create a new feature.
Optional callback to be called with the OID of the newly created feature.
Creates a new feature using the given template and geometry.
Syntax
Public Overloads Sub Create( _
   ByVal template As EditingTemplate, _
   ByVal geometry As Geometry, _
   Optional ByVal result As Action(Of Long) _
) 

Parameters

template
Editing template used to create a feature.
geometry
Geometry used to create a new feature.
result
Optional callback to be called with the OID of the newly created feature.
Remarks
If the template is associated with a standalone table, pass null for the geometry parameter. A new row will be created.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members
Overload List