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.CurrentTask Property (ArcObjects .NET 10.5 SDK) |
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 [out, retval]
Task is a parameter of type IEngineEditTask Task [in]
Task is a parameter of type IEngineEditTask
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.