ArcGIS Pro 2.7 API Reference Guide
Move(Layer,Int64,Double,Double) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class > Move Method : Move(Layer,Int64,Double,Double) Method
The layer of the feature to move.
The oid of the feature to move.
Units along the x-axis to move the geometry.
Units along the y-axis to move the geometry.
Moves a feature along a vector.
Syntax
public void Move( 
   Layer layer,
   long oid,
   double dx,
   double dy
)
Public Overloads Sub Move( _
   ByVal layer As Layer, _
   ByVal oid As Long, _
   ByVal dx As Double, _
   ByVal dy As Double _
) 

Parameters

layer
The layer of the feature to move.
oid
The oid of the feature to move.
dx
Units along the x-axis to move the geometry.
dy
Units along the y-axis to move the geometry.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members
Overload List