Sdílet prostřednictvím


TraceEventCollection Members

Include Protected Members
Include Inherited Members

Contains a collection of TraceEvent objects. This class cannot be inherited.

The TraceEventCollection type exposes the following members.

Methods

  Name Description
Public method Add(TraceEvent) Adds a TraceEvent to the end of the collection.
Public method Add(TraceEventClass) Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection.
Public method Clear() Removes all elements from the collection.
Public method Contains(TraceEvent) Indicates whether the collection contains a specified TraceEvent.
Public method Contains(TraceEventClass) Indicates whether the collection contains a TraceEvent that has the specified TraceEventClass value.
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method Find(TraceEventClass) Gets the TraceEvent that has the specified TraceEventClass value from the collection.
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method Remove(TraceEvent) Removes the specified TraceEvent from the collection.
Public method Remove(TraceEventClass) Removes the TraceEvent that has the specified TraceEventClass value from the collection.
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property Count Gets the number of TraceEvent objects in the collection.
Public property Item[Int32] Gets the TraceEvent at the specified index from the collection.
Public property Item[TraceEventClass] Gets the TraceEvent that has the specified TraceEventClass value from the collection.

Top