Inserts a task into the managed collection.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)

Syntax

C#
public Task Insert(
	int index,
	SimpleTaskItem simpleTaskItem
)
Visual Basic (Declaration)
Public Function Insert ( _
	index As Integer, _
	simpleTaskItem As SimpleTaskItem _
) As Task

Parameters

index
Type: System..::.Int32
The zero-based index at which the task should be inserted.
simpleTaskItem
Type: DlhSoft.Windows.Data..::.SimpleTaskItem
Item definition representing the task to insert.

Return Value

The new task.

See Also