ArcGIS Pro 2.6 API Reference Guide
CancelEdit(String,Boolean) Method

ArcGIS.Desktop.Editing.Events Namespace > RowChangedEventArgs Class > CancelEdit Method : CancelEdit(String,Boolean) Method
Cancel the current EditOperation with an option to override.
Syntax
public void CancelEdit( 
   string errorMessage,
   bool canOverride
)
Public Overloads Sub CancelEdit( _
   ByVal errorMessage As String, _
   Optional ByVal canOverride As Boolean _
) 

Parameters

errorMessage
canOverride
Remarks
This method is used internally by workflow manager during feature creation. A dialog is always displayed with a fixed title. The override determines if the user can override the cancel.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

RowChangedEventArgs Class
RowChangedEventArgs Members
Overload List