Inserts a predecessor into the managed collection.

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

Syntax

C#
public Predecessor Insert(
	int index,
	SimplePredecessorItem simplePredecessorItem
)
Visual Basic (Declaration)
Public Function Insert ( _
	index As Integer, _
	simplePredecessorItem As SimplePredecessorItem _
) As Predecessor

Parameters

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

Return Value

The new predecessor.

See Also