TraceListenerCollection.IList.Item[Int32] 屬性

定義

取得或設定位於 TraceListener 中指定索引處的 TraceListenerCollection

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; }
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

要取得的 value 之以零起始的索引。

屬性值

指定之索引處的 TraceListener

實作

備註

Item[]使用 類別的屬性TraceListenerCollection或索引器,在集合中取得或設定 TraceListener

適用於