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


IEditor.TaskCount Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

IEditor.TaskCount Property

The number of edit tasks.

[Visual Basic .NET]
Public ReadOnly Property TaskCount As Integer
[C#]
public int TaskCount {get;}

Product Availability

Available with ArcGIS Desktop.

Remarks

This property returns the number of tasks the editor currently has loaded. When changing the current task programmatically, use TaskCount with Task and IEditTask::Name to loop through all available tasks and find the correct one.  Or alternatively you can use the edit task's unique name and IEditTaskSearch::TaskByUniqueName to find the desired edit task.

See Also

IEditor Interface | IEditTask.Activate Method | IEditTask.Deactivate Method | IEditTask.Name Property | IEditTask.OnDeleteSketch Method | IEditTask.OnFinishSketch Method | IEditor.Task Property | IEditor.CurrentTask Property