TraceListenerCollection.IList.Item Property (Int32)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets the TraceListener at the specified index in the TraceListenerCollection.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

object IList.this[
	int index
] { get; set; }

Parameters

index
Type: System.Int32

The zero-based index of the value to get.

Property Value

Type: System.Object

The TraceListener at the specified index.

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

.NET Framework
Available since 2.0
Return to top
Show: