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


IEditor.RedoOperation Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditor Interface > IEditor.RedoOperation Method
ArcGIS Developer Help

IEditor.RedoOperation Method

Redo an edit operation.

[Visual Basic .NET]
Public Sub RedoOperation ( _
)
[C#]
public void RedoOperation (
);

Product Availability

Available with ArcGIS Desktop.

Remarks

Typically, UndoOperation and RedoOperation should be called within the context of an IOperation. Calling either of these directly, may corrupt the OperationStack. Instead, call Undo on IOperationStack to undo the last operation; this also moves the pointer down the stack, to the preceeding operation.  RedoOperation is a shortcut to calling IWorkspaceEdit::RedoOperation on the current edit workspace.
[C#]
  private void REDO() 
  {
      IMxDocument mxDoc;    
      mxDoc = app.Document;
      mxDoc.OperationStack.Redo();
    }
[Visual Basic .NET]
Private Sub Redo()
Dim pMxDoc As IMxDocument
pMxDoc = m_application.Document
pMxDoc.OperationStack.Redo()
End Sub

See Also

IEditor Interface