TraceListenerCollection.IList.Item Property (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

Private Property Item (
	index As Integer
) As Object Implements IList.Item

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: