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 > IOperationStack Interface > IOperationStack.Do Method (ArcObjects .NET 10.5 SDK) |
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
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.