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

IOperationStack.Do Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IO > IOperationStack Interface > IOperationStack.Do Method
ArcGIS Developer Help

IOperationStack.Do Method

Performs the given operation and places it on the stack.

[Visual Basic .NET]
Public Sub Do ( _
    ByVal operation As IOperation _
public void Do (
    IOperation operation
  IOperation* operation
operation [in]

operation is a parameter of type IOperation*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


The Do method performs the specified operation, and if successful places the operation on the OperationStack at the index of the 'current' operation on the OperationStack. 


Regardless of whether the Do method performs the specified operation successfully, any operations above the 'current' operation on the OperationStack will be removed from the OperationStack.

See Also

IOperationStack Interface