This document is archived and information here might be outdated. Recommended version. |
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.