TreeNodeCollection.IList.Item[Int32] 屬性

定義

取得或設定位於集合中指定索引處的樹狀節點。

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

參數

index
Int32

要取得或設定項目位置的索引 (以零為起始)。

屬性值

Object

TreeNode 中指定索引處的 TreeNodeCollection

實作

例外狀況

該值集不是 TreeNode

適用於