TraceListenerCollection.Remove Method (String)

 
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.

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

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

Public Sub Remove (
	name As String
)

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: