This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditor Interface > IEngineEditor.StartEditing Method (ArcObjects .NET 10.5 SDK) |
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
Starts an editing session using the specified IMap and IWorkspace parameters. Only one map and workspace can be edited at a time.
This method fires the IEngineEditEvents::OnStartEditing, IEngineEditEvents::OnSelectionChanged, IEngineEditEvents::OnTargetLayerChanged and IEngineEditEvents::OnSketchModified events.