TraceListenerCollection.IList.Contains Method (Object)

 
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.

Determines whether the TraceListenerCollection contains a specific object.

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

bool IList.Contains(
	object value
)

Parameters

value
Type: System.Object

The object to locate in the TraceListenerCollection.

Return Value

Type: System.Boolean

true if the Object is found in the TraceListenerCollection; otherwise, false.

Use the Contains method of the TraceListenerCollection class to determine whether the collection contains a specific TraceListener object.

.NET Framework
Available since 1.1
Return to top
Show: