﻿<?xml version="1.0" encoding="utf-8"?><Type Name="EventLogEntryCollection" FullName="System.Diagnostics.EventLogEntryCollection"><TypeSignature Language="C#" Maintainer="auto" Value="public class EventLogEntryCollection : System.Collections.ICollection" /><TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit EventLogEntryCollection extends System.Object implements class System.Collections.ICollection, class System.Collections.IEnumerable" /><AssemblyInfo><AssemblyName>System</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.3300.0</AssemblyVersion><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces><Interface><InterfaceName>System.Collections.ICollection</InterfaceName></Interface></Interfaces><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="T:System.Diagnostics.EventLogEntryCollection" /> class when reading the entries associated with an <see cref="T:System.Diagnostics.EventLog" /> instance. The <see cref="P:System.Diagnostics.EventLog.Entries" /> property of the <see cref="T:System.Diagnostics.EventLog" /> class is a collection of all the entries in the event log.</para><para>Because new entries are appended to the existing list, stepping through the collection enables you to access the entries that were created after you originally created the <see cref="T:System.Diagnostics.EventLogEntryCollection" />. However, after you view the entire list, it is not updated with new entries.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Defines size and enumerators for a collection of <see cref="T:System.Diagnostics.EventLogEntry" /> instances.</para></summary></Docs><Members><Member MemberName="CopyTo"><MemberSignature Language="C#" Value="public void CopyTo (System.Diagnostics.EventLogEntry[] eventLogEntries, int index);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void CopyTo(class System.Diagnostics.EventLogEntry[] eventLogEntries, int32 index) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="eventLogEntries" Type="System.Diagnostics.EventLogEntry[]" /><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><param name="eventLogEntries">To be added.</param><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Because new entries are appended to the existing list, stepping through the collection enables you to access the entries that were created after you originally created the <see cref="T:System.Diagnostics.EventLogEntryCollection" />. An array of <see cref="T:System.Diagnostics.EventLogEntry" /> instances is fixed at the time it is instantiated. Therefore, you cannot read new entries by using the array that is returned by the <see cref="M:System.Diagnostics.EventLogEntryCollection.CopyTo(System.Diagnostics.EventLogEntry[],System.Int32)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies the elements of the <see cref="T:System.Diagnostics.EventLogEntryCollection" /> to an array of <see cref="T:System.Diagnostics.EventLogEntry" /> instances, starting at a particular array index.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index in the array at which copying begins. </param></Docs></Member><Member MemberName="Count"><MemberSignature Language="C#" Value="public int Count { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 Count" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'int'</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Diagnostics.EventLogEntryCollection" /> represents a dynamic list of all the entries in a log. Therefore, the <see cref="P:System.Diagnostics.EventLogEntryCollection.Count" /> property can change during the lifetime of the <see cref="T:System.Diagnostics.EventLogEntryCollection" /> instance that you create. It is usually best to work with the <see cref="P:System.Diagnostics.EventLogEntryCollection.Count" /> property directly instead of assigning its value to a variable.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the number of entries in the event log (that is, the number of elements in the <see cref="T:System.Diagnostics.EventLogEntry" /> collection).</para></summary></Docs></Member><Member MemberName="GetEnumerator"><MemberSignature Language="C#" Value="public System.Collections.IEnumerator GetEnumerator ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.IEnumerator GetEnumerator() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.IEnumerator</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The object that is returned by the <see cref="M:System.Diagnostics.EventLogEntryCollection.GetEnumerator" /> method is a wrapper for the <see cref="T:System.Diagnostics.EventLogEntryCollection" /> class that implements the <see cref="T:System.Collections.IEnumerator" /> enumerator.</para><block subset="none" type="note"><para>If the collection is changed during the iteration, the iteration is terminated. To avoid this possibility, see the <see cref="P:System.Diagnostics.EventLogEntryCollection.Item(System.Int32)" /> property for an alternative technique for iterating through a collection.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Supports a simple iteration over the <see cref="T:System.Diagnostics.EventLogEntryCollection" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An object that can be used to iterate over the collection.</para></returns></Docs></Member><Member MemberName="Item"><MemberSignature Language="C#" Value="public virtual System.Diagnostics.EventLogEntry this[int index] { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Diagnostics.EventLogEntry Item(int32)" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Diagnostics.EventLogEntry</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><param name="index">To be added.</param><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="System.Collections.ICollection.CopyTo"><MemberSignature Language="C#" Value="void ICollection.CopyTo (Array array, int index);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Collections.ICollection.CopyTo(class System.Array array, int32 index) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="array" Type="System.Array" /><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="M:System.Diagnostics.EventLogEntryCollection.CopyTo(System.Diagnostics.EventLogEntry[],System.Int32)" /> method of the <see cref="T:System.Diagnostics.EventLogEntryCollection" /> class to copy all or part of the collection to an <see cref="T:System.Diagnostics.EventLogEntry" /> array.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies the elements of the collection to an <see cref="T:System.Array" />, starting at a particular <see cref="T:System.Array" /> index.</para></summary><param name="array"><attribution license="cc4" from="Microsoft" modified="false" />The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements that are copied from the collection. The <see cref="T:System.Array" /> must have zero-based indexing. </param><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index in <paramref name="array" /> at which copying begins. </param></Docs></Member><Member MemberName="System.Collections.ICollection.IsSynchronized"><MemberSignature Language="C#" Value="bool System.Collections.ICollection.IsSynchronized { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool System.Collections.ICollection.IsSynchronized" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For the <see cref="T:System.Diagnostics.EventLogEntryCollection" /> class, the <see cref="P:System.Diagnostics.EventLogEntryCollection.System#Collections#ICollection#IsSynchronized" /> method always returns false.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value that indicates whether access to the <see cref="T:System.Diagnostics.EventLogEntryCollection" /> is synchronized (thread-safe).</para></summary></Docs></Member><Member MemberName="System.Collections.ICollection.SyncRoot"><MemberSignature Language="C#" Value="object System.Collections.ICollection.SyncRoot { get; }" /><MemberSignature Language="ILAsm" Value=".property instance object System.Collections.ICollection.SyncRoot" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For the <see cref="T:System.Diagnostics.EventLogEntryCollection" /> class, the <see cref="P:System.Diagnostics.EventLogEntryCollection.System#Collections#ICollection#SyncRoot" /> property always returns the current <see cref="T:System.Diagnostics.EventLogEntryCollection" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets an object that can be used to synchronize access to the <see cref="T:System.Diagnostics.EventLogEntryCollection" /> object.</para></summary></Docs></Member></Members></Type>