ArcGIS Pro 2.6 API Reference Guide
CreateEx(Layer,Geometry,Dictionary<String,Object>) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class > CreateEx Method : CreateEx(Layer,Geometry,Dictionary<String,Object>) Method
The layer to create a new feature in.
The geometry of the new feature.
The attributes to assign to the new row.
Creates a new feature in the given layer given a geometry and a set of attributes.
Syntax
Public Overloads Function CreateEx( _
   ByVal layer As Layer, _
   ByVal geometry As Geometry, _
   ByVal values As Dictionary(Of String,Object) _
) As RowToken

Parameters

layer
The layer to create a new feature in.
geometry
The geometry of the new feature.
values
The attributes to assign to the new row.

Return Value

A RowToken object that represents the row to be created.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

EditOperation Class
EditOperation Members
Overload List