|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAContextEdit Interface > INAContextEdit.UndoEditOperation Method (ArcObjects .NET 10.5 SDK) | 
Cancels the last edit operation and returns to the state before it was started.
[Visual Basic .NET]
Public Sub UndoEditOperation ( _
)
[C#] public void UndoEditOperation ( );
[C++]
HRESULT UndoEditOperation(
void
);
UndoEditOperation undoes the edit operation on the NAContext's NAClasses.