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::Remove Method (String^)

 

Removes from the collection the first TraceListener with the specified name.

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

public:
void Remove(
	String^ name
)

Parameters

name
Type: System::String^

The name of the TraceListener to remove from the list.

The name parameter is case-sensitive. That is, if two listeners exist with the names "Rname" and "rname", the Remove method will find the specific listener you name.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft