TraceListenerCollection.IList.Item[Int32] Property

Definition

Gets or sets the TraceListener at the specified index in the 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

Parameters

index
Int32

The zero-based index of the value to get.

Property Value

The TraceListener at the specified index.

Implements

Remarks

Use the Item[] property or the indexer of the TraceListenerCollection class to get or set a TraceListener in the collection.

Applies to