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

IWorkspaceEdit.StartEditing Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceEdit Interface > IWorkspaceEdit.StartEditing Method
ArcGIS Developer Help

IWorkspaceEdit.StartEditing Method

Starts editing the workspace.

[Visual Basic .NET]
Public Sub StartEditing ( _
    ByVal withUndoRedo As Boolean _
public void StartEditing (
    bool withUndoRedo
HRESULT StartEditing(
  VARIANT_BOOL withUndoRedo

withUndoRedo is a parameter of type bool

Product Availability

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

Errors Returned

FDO_E_VERSION_BEING_RECONCILED: Operation not allowed while the version is being reconciled.


An edit session may be started using the StartEditing method. The withUndoRedo parameter can be used to suppress undo/redo logging if the workspace supports such suppression. Note that the supression of undo/redo logging is not supported for remote database workspaces.  StartEditing cannot be called when a edit session is already active.  StopEditing must be called first before a new edit session can be started.

Note:  With non-versioned editing always be sure to check the current edit state via IsBeingEdited before called StartEditing or StopEditing.  If the workspace is being edited outside your context, there is no need to call StartEditing.

See Also

IWorkspaceEdit Interface