Export (0) Print
Expand All

TraceListenerCollection Members

Provides a thread-safe list of TraceListener objects.

The following tables list the members exposed by the TraceListenerCollection type.

  Name Description
Public property Supported by the .NET Compact Framework Count Gets the number of listeners in the list.
Public property Supported by the .NET Compact Framework Item Overloaded. Gets or sets the specified TraceListener.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Add Adds a TraceListener to the list.
Public method AddRange Overloaded. Adds multiple TraceListener objects to the collection.
Public method Supported by the .NET Compact Framework Clear Clears all the listeners from the list.
Public method Supported by the .NET Compact Framework Contains Checks whether the list contains the specified listener.
Public method Supported by the .NET Compact Framework CopyTo Copies a section of the current TraceListenerCollection list to the specified array at the specified index.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetEnumerator Gets an enumerator for this list.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework IndexOf Gets the index of the specified listener.
Public method Supported by the .NET Compact Framework Insert Inserts the listener at the specified index.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Remove Overloaded. Removes a specific TraceListener from the collection.
Public method Supported by the .NET Compact Framework RemoveAt Removes from the collection the TraceListener at the specified index.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.ICollection.CopyTo Copies a section of the current TraceListenerCollection to the specified array of TraceListener objects.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Add Adds a trace listener to the TraceListenerCollection.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Contains Determines whether the TraceListenerCollection contains a specific object.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.IndexOf Determines the index of a specific object in the TraceListenerCollection.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Insert Inserts a TraceListener object at the specified position in the TraceListenerCollection.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Remove Removes an object from the TraceListenerCollection.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.IsSynchronized Gets a value indicating whether access to the TraceListenerCollection is synchronized (thread safe).
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.SyncRoot Gets an object that can be used to synchronize access to the TraceListenerCollection.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsFixedSize Gets a value indicating whether the TraceListenerCollection has a fixed size.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsReadOnly Returns a value indicating whether the TraceListenerCollection is read-only
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.Item Gets the TraceListener at the specified index in the TraceListenerCollection.
Top

Community Additions

ADD
Show:
© 2014 Microsoft