Flexible TreeView 5.1.9 Help
InsertItem Method (Node.NodeCollection)



Index where to insert the new node.
The node to insert.
Inserts an element into the Collection at the specified index.
Syntax
'Declaration
 
Protected Overrides Sub InsertItem( _
   ByVal pIndex As Integer, _
   ByVal pNode As Node _
) 
'Usage
 
Dim instance As Node.NodeCollection
Dim pIndex As Integer
Dim pNode As Node
 
instance.InsertItem(pIndex, pNode)
protected override void InsertItem( 
   int pIndex,
   Node pNode
)
protected:
void InsertItem( 
   int pIndex,
   Node^ pNode
) override 

Parameters

pIndex
Index where to insert the new node.
pNode
The node to insert.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionindex is less than zero.-or-index is greater than Count.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Node.NodeCollection Class
Node.NodeCollection Members
Base Implementation in InsertItem

Send Feedback