ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Framework Namespace / OperationManager Class / UndoAsync Method / UndoAsync(Int32) Method
The number of operations to roll back.

UndoAsync(Int32) Method
Rolls back the specified number of operations off the top of the undo stack.
Syntax
public Task UndoAsync( 
   int count
)

Parameters

count
The number of operations to roll back.

Return Value

A task that represents the work queued to execute in the ThreadPool.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also