ArcObjects Library Reference (GeoDatabase)  

IWorkspaceEdit.StopEditOperation Method

Ends an edit operation.

[Visual Basic .NET]
Public Sub StopEditOperation ( _
)
[C#]
public void StopEditOperation (
);
[C++]
HRESULT StopEditOperation(
void
);

Product Availability

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

Remarks

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.

See Also

IWorkspaceEdit Interface

.NET Samples

Bind a geodatabase table to a .NET control (Code Files: TableWrapper)

.NET Related Topics

Editing with the geodatabase API | Geodatabase | GeoDatabaseUI | How to load a raster dataset to the raster field in a feature class | Reconciling versions