TraceListenerCollection.Remove Metoda
Definicja
Usuwa określony element TraceListener z kolekcji.Removes a specific TraceListener from the collection.
Przeciążenia
Remove(String) |
Usuwa z kolekcji pierwszy TraceListener z określoną nazwą.Removes from the collection the first TraceListener with the specified name. |
Remove(TraceListener) |
Usuwa z określonej kolekcji TraceListener .Removes from the collection the specified TraceListener. |
Remove(String)
Usuwa z kolekcji pierwszy TraceListener z określoną nazwą.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)
Parametry
- name
- String
Nazwa elementu TraceListener do usunięcia z listy.The name of the TraceListener to remove from the list.
Uwagi
W name
parametrze jest rozróżniana wielkość liter.The name
parameter is case-sensitive. Oznacza to, że jeśli dwa odbiorniki istnieją z nazwami "rname" i "rname", Remove Metoda odnajdzie określony odbiornik.That is, if two listeners exist with the names "Rname" and "rname", the Remove method will find the specific listener you name.
Zobacz też
- TraceListenerCollection
- TraceListener
- DefaultTraceListener
- TextWriterTraceListener
- ConsoleTraceListener
- Debug
- Trace
Dotyczy
Remove(TraceListener)
Usuwa z określonej kolekcji TraceListener .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)
Parametry
- listener
- TraceListener
A, TraceListener Aby usunąć z listy.A TraceListener to remove from the list.
Zobacz też
- TraceListenerCollection
- TraceListener
- DefaultTraceListener
- TextWriterTraceListener
- ConsoleTraceListener
- Debug
- Trace