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


IEngineEditor.StartEditing Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IEngineEditor.StartEditing Method

Starts an edit session.

[Visual Basic .NET]
Public Sub StartEditing ( _
    ByVal workspace As IWorkspace, _
    ByVal Map As IMap _
)
[C#]
public void StartEditing (
    IWorkspace workspace,
    IMap Map
);
[C++]
HRESULT StartEditing(
  IWorkspace* workspace,
  IMap* Map
);
[C++]

Parameters workspace [in]
workspace is a parameter of type IWorkspace Map [in]
Map is a parameter of type IMap

Product Availability

Available with ArcGIS Engine.

Description

Starts an editing session using the specified IMap and IWorkspace parameters. Only one map and workspace can be edited at a time.

Remarks

This method fires the IEngineEditEvents::OnStartEditing, IEngineEditEvents::OnSelectionChanged, IEngineEditEvents::OnTargetLayerChanged and IEngineEditEvents::OnSketchModified events.

See Also

IEngineEditor Interface

.NET Related Topics

How to create an edit session