ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / UndoAsync Method

UndoAsync Method (EditOperation)
Attempts to Undo this EditOperation (only the most recent edit operation can be undone).
Syntax
public Task<bool> UndoAsync()

Return Value

A task representing the success of the Undo.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also