Bewerken

Delen via


TraceListenerCollection.Remove Method

Definition

Removes a specific TraceListener from the collection.

Overloads

Remove(String)

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

Remove(TraceListener)

Removes from the collection the specified TraceListener.

Remove(String)

Source:
TraceListeners.cs
Source:
TraceListeners.cs
Source:
TraceListeners.cs

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

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

Applies to

Remove(TraceListener)

Source:
TraceListeners.cs
Source:
TraceListeners.cs
Source:
TraceListeners.cs

Removes from the collection the specified TraceListener.

public:
 void Remove(System::Diagnostics::TraceListener ^ listener);
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

listener
TraceListener

A TraceListener to remove from the list.

See also

Applies to