Inserts a node into the managed collection.

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

Syntax

C#
public Node Insert(
	int index,
	SimpleNodeItem simpleNodeItem
)
Visual Basic (Declaration)
Public Function Insert ( _
	index As Integer, _
	simpleNodeItem As SimpleNodeItem _
) As Node

Parameters

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

Return Value

The new node.

See Also