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