This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IO > IOperation Interface > IOperation.CanUndo Property (ArcObjects .NET 10.5 SDK) |
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
CanUndo indicates if the operation can be un-done. Use the property before using the Undo method.