Removes the TraceListener at the specified index.
[Visual Basic] Overridable Public Sub RemoveAt( _ ByVal index As Integer _ ) [C#] public virtual void RemoveAt( int index ); [C++] public: virtual void RemoveAt( int index ); [JScript] public function RemoveAt( index : int );
The index is zero-based. Therefore, you must subtract one from the numerical position of a particular TraceListener to delete that TraceListener. For example, to remove the third TraceListener, you need to specify RemoveAt (2).
TraceListeners Class | TraceListeners Members | System.Diagnostics Namespace | TraceListeners | TraceListener | DefaultTraceListener | TextWriterTraceListener | Debug | Trace