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


INAContextEdit.StartEditOperation Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAContextEdit Interface > INAContextEdit.StartEditOperation Method
ArcGIS Developer Help

INAContextEdit.StartEditOperation Method

Starts 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. Requires Network Analyst Extension.

Remarks

StartEditOperation starts an edit operation on the NAContext's NAClasses.  This can be used to enable undo and redo operations on changes to the NAClasses.

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.

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

See Also

INAContextEdit Interface