TraceListenerCollection.Remove TraceListenerCollection.Remove TraceListenerCollection.Remove TraceListenerCollection.Remove Method

Definition

Removes a specific TraceListener from the collection.

Overloads

Remove(String) Remove(String) Remove(String) Remove(String)

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

Remove(TraceListener) Remove(TraceListener) Remove(TraceListener) Remove(TraceListener)

Removes from the collection the specified TraceListener.

Remove(String) Remove(String) Remove(String) Remove(String)

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

public:
 void Remove(System::String ^ name);
public void Remove (string name);
member this.Remove : string -> unit
Public Sub Remove (name As String)

Parameters

name
String String String String

The name of the TraceListener to remove from the list.

Remarks

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.

See also

Remove(TraceListener) Remove(TraceListener) Remove(TraceListener) Remove(TraceListener)

Removes from the collection the specified TraceListener.

public:
 void Remove(System::Diagnostics::TraceListener ^ listener);
public void Remove (System.Diagnostics.TraceListener listener);
member this.Remove : System.Diagnostics.TraceListener -> unit
Public Sub Remove (listener As TraceListener)

Parameters

See also

Applies to