This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceEdit Interface > IWorkspaceEdit.StopEditOperation Method (ArcObjects .NET 10.5 SDK) |
Ends an edit operation.
[Visual Basic .NET]
Public Sub StopEditOperation ( _
)
[C#] public void StopEditOperation ( );
[C++]
HRESULT StopEditOperation(
void
);
Applications are responsible for calling StopEditOperation to mark the end of a successfully completed edit operation. Completed edit operations can be thought of as being pushed onto an undo stack.
All edits to features that participate in a Topology or Geometric Network must be bracketed within an edit operation.
When using StopEditOperation, proper handling of errors, including the use of AbortEditOperation, is necessary.
This method explicitly commit of any active transactions in the database.