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

IEditor.StartEditing Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditor Interface > IEditor.StartEditing Method
ArcGIS Developer Help

IEditor.StartEditing Method

Starts an edit session.

[Visual Basic .NET]
Public Sub StartEditing ( _
    ByVal workspace As IWorkspace _
public void StartEditing (
    IWorkspace workspace

Product Availability

Available with ArcGIS Desktop.


Errors Returned

Operation not allowed while the version is being reconciled.

At version 8.3 and higher you cannot start an edit session against a coverage workspace.


Data from multiple workspaces may be loaded into a single map. However, the editor can only edit one workspace at a time. For this reason, when calling StartEditing, you must specify the workspace you wish to edit and this workspace must be represented in the focus map.  If no feature layers from the workspace are present in the focus map, StartEditing will fail.

StartEditing may also fail if the data is read-only or if it is non versioned SDE data.

Any references to features, cursors, or other geodatabase classes that you intend to use in the edit session should be acquired inside the edit session. 

See Also

IEditor Interface