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


IOperationStack.Do Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (SystemUI)  

IOperationStack.Do Method

Performs the given operation and places it on the stack.

[Visual Basic .NET]
Public Sub Do ( _
    ByVal operation As IOperation _
)
[C#]
public void Do (
    IOperation operation
);
[C++]
HRESULT Do(
  IOperation* operation
);
[C++]

Parameters operation [in]
operation is a parameter of type IOperation

Product Availability

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

Description

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. 

Remarks

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