ArcGIS Pro 2.6 API Reference Guide
EditOperation Class Members
Properties  Methods 


ArcGIS.Desktop.Editing Namespace : EditOperation Class

The following tables list the members exposed by EditOperation.

Public Constructors
 NameDescription
Public Constructor Constructs a new EditOperation representing an edit to be performed against the Geodatabase.  
Top
Public Properties
 NameDescription
Public PropertyGets and sets the cancel message.  
Public PropertyGets or sets the transaction type for the EditOperation.  
Public PropertyGets or sets the ErrorMessage.  
Public Propertyprovides a way for calling code to identify a particular EditOperation within a subsequent EditEvent. Setting an EventToken in an EditOperation is optional - by default it is null. If set to a non-null object, the EditOperation is subsequently successful, and, an EditEvent is published, then the EventToken object set here, will be available from the corresponding ArcGIS.Desktop.Editing.Events.EditCompletedEventArgs.EventToken.  
Public Property EditOperations are marked as Cancelled when they have been Executed but cancelled before completing and not performed.  
Public Property EditOperations are marked as Done when someone calls ExecuteAsync() on them (even before they are complete).  
Public PropertyGets a value indicating if the EditOperation is empty.  
Public Property EditOperations are marked as Succeeded when ExecuteAsync() succeeds (the Task terminates with true).  
Public Property The string reported to the application's undo stack for this EditOperation.  
Public Property The string to show while executing this operation.  
Public PropertyGets and sets whether to select features that are modified by an EditOperation.  
Public PropertyGets and sets whether to select new features that are created by an EditOperation.  
Public Property If this property is true a modal error dialog will be shown after the edit fails showing a default UI explaining the failure to the user.  
Public PropertyGets and sets whether to show a progressor during an EditOperation.  
Top
Public Methods
 NameDescription
Public Method Mark the Edit Operation as aborted.  
Public MethodOverloaded.   
Public MethodOverloaded. Create a new feature by auto-complete.  
Public MethodOverloaded. Registers that the edit operation will callback into the given function in the context of an edit operation.  
Public MethodClip a feature with a geometry.  
Public MethodOverloaded.   
Public Method Copies rows from source to destination member using the given IDs.  
Public MethodOverloaded. Create a new feature in a layer or row in a table.  
Public Method Creates a follow-on operation which will be shared with this operation on the application's undo stack.  
Public MethodOverloaded.   
Public MethodOverloaded. Delete features or rows.  
Public MethodAdds an edit operation that creates a duplicate of the specified feature with given geometry offsets.  
Public Method Executes the Edit, modifying the database using the instructions given to the EditOperation. Returns true upon success and false upon failure.  
Public Method Executes the Edit, modifying the database using the instructions given to the EditOperation. Returns true upon success and false upon failure.  
Public MethodOverloaded.   
Public MethodThis method is intended for compiler use rather than for use in application code. The presence of this method allows an EditOperation to be 'await'-ed like a Task (the Task returned by calling ExecuteAsync()).  
Public MethodOverloaded. Merge features.  
Public MethodOverloaded. Modify the geometry and/or the attributes of features or rows.  
Public MethodOverloaded. Move a set of features by a vector.  
Public MethodOverloaded.   
Public Method Attempts to Redo this EditOperation (only the most recently undone edit operation can be redone).  
Public Method Remove all attachments from a row/feature with attachment support.  
Public Method Remove an attachment from a row/feature with attachment support.  
Public MethodOverloaded. Reshape features with a geometry.  
Public MethodOverloaded.   
Public Method  
Public MethodOverloaded. Scales a set of features.  
Public MethodSets an action that will be called when this editoperation is committed.  
Public Method Sets an action that will be called when this operation is done executing.  
Public MethodSets an action that will be called when this editoperation is redone.  
Public Method Sets an action that will be called when this operation is undone.  
Public MethodOverloaded.   
Public MethodOverloaded.   
Public MethodOverloaded.   
Public MethodTransform a layer.  
Public Method Attempts to Undo this EditOperation (only the most recent edit operation can be undone).  
Public MethodOverloaded.   
Top
See Also

Reference

EditOperation Class
ArcGIS.Desktop.Editing Namespace