|  | 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.Remove Method (ArcObjects .NET 10.5 SDK) | 
Removes an operation from the stack.
[Visual Basic .NET] Public Sub Remove ( _ ByVal index As Integer _ )
[C#] public void Remove ( int index );
[C++]
HRESULT Remove(
  long index
);
[C++]
Parameters index [in] index is a parameter of type long
Removes the operation at the specified index from the OperationStack. The operation at the beginning of the collection has an index of 0 and the operation at the end of the collection has an index of IOperationStack::Count - 1.