This documentation is archived and is not being maintained.

EventLogEntryCollection Members

Defines size and enumerators for a collection of EventLogEntry instances.

The EventLogEntryCollection type exposes the following members.

Public method CopyTo Copies the elements of the EventLogEntryCollection to an array of EventLogEntry instances, starting at a particular array index.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Supports a simple iteration over the EventLogEntryCollection object.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)

Public property Count Gets the number of entries in the event log (that is, the number of elements in the EventLogEntry collection).
Public property Item Gets an entry in the event log, based on an index that starts at 0 (zero).

Explicit interface implemetation Private method ICollection.CopyTo Infrastructure. Copies the elements of the collection to an Array, starting at a particular Array index.
Explicit interface implemetation Private property ICollection.IsSynchronized Infrastructure. Gets a value that indicates whether access to the EventLogEntryCollection is synchronized (thread-safe).
Explicit interface implemetation Private property ICollection.SyncRoot Infrastructure. Gets an object that can be used to synchronize access to the EventLogEntryCollection object.