ArcObjects Library Reference (GeoDatabase)  

IWorkspaceEdit.StartEditOperation Method

Begins an edit operation.

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

Product Availability

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

Remarks

All related changes to objects in the database within an edit session should be grouped into edit operations. An edit operation is begun using the StartEditOperation method. An edit operation may be thought of as a short transaction nested within the long transaction corresponding to the edit session.

All edits to features that participate in a Topology or Geometric Network must be bracketed within an edit operation.

When using StartEditOperation, proper handling of errors, including the use of AbortEditOperation, is neccessary.

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 | Geodatabase API best practices | GeoDatabaseUI | How to load a raster dataset to the raster field in a feature class | Reconciling versions