EventLogEntryCollection Members

Defines size and enumerators for a collection of EventLogEntry instances.

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

  Name Description
Public property Count Gets the number of entries in the event log (elements in the EventLogEntry collection).
Public property Item Gets an entry in the event log, based on an index starting at 0.

(see also Protected Methods )
  Name Description
Public method CopyTo Copies the elements of the EventLogEntryCollection to an array of EventLogEntry instances, starting at a particular array index.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetEnumerator Supports a simple iteration over the EventLogEntryCollection.
Public method 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 GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)

  Name Description
Protected method 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 MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)

  Name Description
Explicit interface implementation Method System.Collections.ICollection.CopyTo Copies the elements of the collection to an Array, starting at a particular Array index.
Explicit interface implementation Property System.Collections.ICollection.IsSynchronized Gets a value indicating whether access to the EventLogEntryCollection is synchronized (thread-safe).
Explicit interface implementation Property System.Collections.ICollection.SyncRoot Gets an object that can be used to synchronize access to the EventLogEntryCollection.

Community Additions