Compartir a través de


TraceEventCollection Miembros

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

El tipo TraceEventCollection expone los siguientes miembros.

Métodos

  Nombre Descripción
Método publico Add(TraceEvent) Adds a TraceEvent to the end of the collection.
Método publico Add(TraceEventClass) Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection.
Método publico Clear Removes all elements from the collection.
Método publico Contains(TraceEvent) Indicates whether the collection contains a specified TraceEvent.
Método publico Contains(TraceEventClass) Indicates whether the collection contains a TraceEvent that has the specified TraceEventClass value.
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico Find Gets the TraceEvent that has the specified TraceEventClass value from the collection.
Método publico GetHashCode (Se hereda de Object).
Método publico GetType (Se hereda de Object).
Método protegido MemberwiseClone (Se hereda de Object).
Método publico Remove(TraceEvent) Removes the specified TraceEvent from the collection.
Método publico Remove(TraceEventClass) Removes the TraceEvent that has the specified TraceEventClass value from the collection.
Método publico ToString (Se hereda de Object).

Principio

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of TraceEvent objects in the collection.
Propiedad pública Item[ ( [ ( Int32] ) ] ) Gets the TraceEvent at the specified index from the collection.
Propiedad pública Item[ ( [ ( TraceEventClass] ) ] ) Gets the TraceEvent that has the specified TraceEventClass value from the collection.

Principio