ArcGIS Pro 2.9 API Reference Guide
Modify(Layer,Int64,Geometry,Dictionary<String,Object>) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class > Modify Method : Modify(Layer,Int64,Geometry,Dictionary<String,Object>) Method
The layer of the feature to modify.
The oid of the feature to modify.
The geometry to update on the feature.
The attribute values to update on the feature.
Modify a feature, updating the geometry and attribute values.
Syntax
Public Overloads Sub Modify( _
   ByVal layer As Layer, _
   ByVal oid As Long, _
   ByVal geometry As Geometry, _
   Optional ByVal attributes As Dictionary(Of String,Object) _
) 

Parameters

layer
The layer of the feature to modify.
oid
The oid of the feature to modify.
geometry
The geometry to update on the feature.
attributes
The attribute values to update on the feature.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members
Overload List