Compartilhar via


Membros TraceEventCollection

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

O tipo TraceEventCollection expõe os seguintes membros.

Métodos

  Nome Descrição
Método público Add(TraceEvent) Adds a TraceEvent to the end of the collection.
Método público Add(TraceEventClass) Creates and adds a TraceEvent, with the specified TraceEventClass value, to the end of the collection.
Método público Clear Removes all elements from the collection.
Método público Contains(TraceEvent) Indicates whether the collection contains a specified TraceEvent.
Método público Contains(TraceEventClass) Indicates whether the collection contains a TraceEvent that has the specified TraceEventClass value.
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público Find Gets the TraceEvent that has the specified TraceEventClass value from the collection.
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público Remove(TraceEvent) Removes the specified TraceEvent from the collection.
Método público Remove(TraceEventClass) Removes the TraceEvent that has the specified TraceEventClass value from the collection.
Método público ToString (Herdado de Object.)

Início

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of TraceEvent objects in the collection.
Propriedade pública Item[ ( [ ( Int32] ) ] ) Gets the TraceEvent at the specified index from the collection.
Propriedade pública Item[ ( [ ( TraceEventClass] ) ] ) Gets the TraceEvent that has the specified TraceEventClass value from the collection.

Início