Flexible TreeView 5.1.9 Help
SetItem Method (NodeControlCollection)



Replaces the element at the specified index.
Syntax
'Declaration
 
Protected Overrides Sub SetItem( _
   ByVal pIndex As Integer, _
   ByVal pItem As NodeControl _
) 
'Usage
 
Dim instance As NodeControlCollection
Dim pIndex As Integer
Dim pItem As NodeControl
 
instance.SetItem(pIndex, pItem)
protected override void SetItem( 
   int pIndex,
   NodeControl pItem
)
protected:
void SetItem( 
   int pIndex,
   NodeControl^ pItem
) override 

Parameters

pIndex
pItem
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

NodeControlCollection Class
NodeControlCollection Members
Base Implementation in SetItem

Send Feedback