Flexible TreeView 5.1.9 Help
SetItem Method (TreeColumnControlCollection)



The zero-based index of the element to replace.
The new value for the element at the specified index. The value can be null for reference types.
Replaces the element at the specified index.
Syntax
'Declaration
 
Protected Overrides Sub SetItem( _
   ByVal index As Integer, _
   ByVal item As TreeColumnControl _
) 
'Usage
 
Dim instance As TreeColumnControlCollection
Dim index As Integer
Dim item As TreeColumnControl
 
instance.SetItem(index, item)
protected override void SetItem( 
   int index,
   TreeColumnControl item
)
protected:
void SetItem( 
   int index,
   TreeColumnControl^ item
) override 

Parameters

index
The zero-based index of the element to replace.
item
The new value for the element at the specified index. The value can be null for reference types.
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

TreeColumnControlCollection Class
TreeColumnControlCollection Members
Base Implementation in SetItem

Send Feedback