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 |