Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TraceListenerCollection::IList::Contains Method (Object^)

 

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)

private:
virtual bool Contains(
	Object^ value
) sealed = IList::Contains

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:
© 2017 Microsoft