This document is archived and information here might be outdated.  Recommended version.


IOperation.CanUndo Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IO > IOperation Interface > IOperation.CanUndo Property
ArcGIS Developer Help

IOperation.CanUndo Property

Indicates if the operation can be undone.

[Visual Basic .NET]
Public ReadOnly Property CanUndo As Boolean
[C#]
public bool CanUndo {get;}
[C++]
HRESULT get_CanUndo(
  Boolean* result
);
[C++]
Parameters
result [out, retval]

result is a parameter of type bool*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

CanUndo indicates if the operation can be un-done. Use the property before using the Undo method.

See Also

IOperation Interface