Children

Namespace: Digi21.Tasks
Assembly: Digi21.DigiNG

Task's subtasks.

ITask[] Children { get; }

Property value

ITask[]: task's subtasks, or null if it has none.

The Tasks pane reads this property once, when the extension adds the task using Tasks.Add, and displays each subtask as a child row. Each subtask is processed in the same way, so a subtask can have subtasks of its own. The array cannot contain null elements: Tasks.Add throws NullReferenceException upon reaching a null element.

TaskBase returns the constructor's children parameter value or the last value assigned to Children; if Children has not received a value, it returns null.