TreeNodeCollection.IList.Item[Int32] Property

Definition

Gets or sets the tree node at the specified index in the collection.

property System::Object ^ System::Collections::IList::Item[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
object System.Collections.IList.Item[int index] { get; set; }
member this.System.Collections.IList.Item(int) : obj with get, set
 Property Item(index As Integer) As Object Implements IList.Item

Parameters

index
Int32

The zero-based index at which to get or set the item.

Property Value

Object

The TreeNode at the specified index in the TreeNodeCollection.

Implements

Exceptions

The value set is not a TreeNode.

Applies to