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


IEngineEditor.CurrentTask Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditor Interface > IEngineEditor.CurrentTask Property
ArcGIS Developer Help

IEngineEditor.CurrentTask Property

The current edit task.

[Visual Basic .NET]
Public Property CurrentTask As IEngineEditTask
[C#]
public IEngineEditTask CurrentTask {get; set;}
[C++]
HRESULT get_CurrentTask(
  IEngineEditTask* Task
);
[C++]
HRESULT putref_CurrentTask(
  IEngineEditTask** Task
);
[C++]
Parameters
Task [in]

Task is a parameter of type IEngineEditTask* Task [out, retval]
Task is a parameter of type IEngineEditTask**

Product Availability

Available with ArcGIS Engine.

Description

Use this property to check or change the EngineEditor's current task.

When an edit sketch is completed the IEngineEditTask::OnFinishSketch method of the current engine edit task uses the geometry stored in IEngineEditSketch::Geometry to perform some action (e.g. store any created features)

The IEngineEditEvents::OnCurrentTaskChanged event is fired when this property is set or when a different task is selected using the ControlsEditingTaskToolControl.

See Also

IEngineEditor Interface

.NET Samples

Feature editing with the control commands Custom reshape polyline edit task Editing using a custom form