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


ControlsOperationStack CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SystemUI)  

ControlsOperationStack CoClass

Use this class to provide operation support to the ToolbarControl.

Product Availability

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

Description

Outside the context of ArcGIS applications such as ArcMap, you can add undo and redo capability by using the ControlsOperationStack class. Usually, you cocreate this class in conjunction with the ToolbarControl and add undo and redo buttons which manipulate the OperationStack via IOperationStack.

Supported Platforms

Windows, Solaris, Linux

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IOperationStack Provides access to members that control the Operation Stack.
ISupportErrorInfo Indicates whether a specific interface can return Automation error objects.