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


IOperation.CanUndo Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SystemUI)  

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(
  VARIANT_BOOL* result
);
[C++]

Parameters result [out, retval] result is a parameter of type VARIANT_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