mscorlib(4.0.0.0) API with additions
System.Collections.IEnumerable Interface Reference

Exposes an enumerator, which supports a simple iteration over a non-generic collection.To browse the .NET Framework source code for this type, see the Reference Source. More...

Inheritance diagram for System.Collections.IEnumerable:
[legend]

Public Member Functions

IEnumerator GetEnumerator ()
 Returns an enumerator that iterates through a collection. More...
 

Detailed Description

Exposes an enumerator, which supports a simple iteration over a non-generic collection.To browse the .NET Framework source code for this type, see the Reference Source.

Definition at line 9 of file IEnumerable.cs.

Member Function Documentation

◆ GetEnumerator()

IEnumerator System.Collections.IEnumerable.GetEnumerator ( )

Returns an enumerator that iterates through a collection.

Returns
An T:System.Collections.IEnumerator object that can be used to iterate through the collection.

Implemented in System.String, System.Array, System.Collections.ArrayList, System.Net.WebHeaderCollection, System.Security.PermissionSet, System.Collections.Generic.Dictionary< TKey, TValue >, System.Collections.Generic.SortedSet< T >, System.Collections.Generic.SortedDictionary< TKey, TValue >, System.Collections.Hashtable, System.Collections.Generic.SortedList< TKey, TValue >, System.Security.Policy.Evidence, System.Xml.XmlNode, System.Collections.Generic.List< T >, System.Collections.SortedList, System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >, System.Collections.ObjectModel.ReadOnlyDictionary< TKey, TValue >, System.Collections.Specialized.NameObjectCollectionBase, System.Collections.Generic.Dictionary< TKey, TValue >.ValueCollection, System.Collections.Generic.LinkedList< T >, System.ComponentModel.PropertyDescriptorCollection, System.Collections.Concurrent.ConcurrentBag< T >, System.Collections.Generic.SortedDictionary< TKey, TValue >.ValueCollection, System.Collections.BitArray, System.Collections.Specialized.OrderedDictionary, System.Collections.Concurrent.ConcurrentStack< T >, System.Collections.Specialized.ListDictionary, System.Collections.Queue, System.Collections.Concurrent.ConcurrentQueue< T >, System.ArraySegment< T >, System.Security.Policy.ApplicationTrustCollection, System.ArraySegment< T >, System.Resources.ResourceReader, System.Collections.Stack, System.Runtime.CompilerServices.ReadOnlyCollectionBuilder< T >, System.Collections.Specialized.StringDictionary, System.Collections.Generic.HashSet< T >, System.Collections.Generic.Queue< T >, System.Collections.Generic.Dictionary< TKey, TValue >.KeyCollection, System.ComponentModel.EventDescriptorCollection, System.Collections.ObjectModel.ReadOnlyDictionary< TKey, TValue >.ValueCollection, System.Collections.Generic.Stack< T >, System.ComponentModel.AttributeCollection, System.Net.CookieCollection, System.Net.CredentialCache, System.Collections.CollectionBase, System.Collections.Generic.SortedDictionary< TKey, TValue >.KeyCollection, System.Xml.XmlNamedNodeMap, System.Collections.Specialized.HybridDictionary, System.Xml.Schema.XmlSchemaCollection, System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection, System.Collections.ObjectModel.Collection< T >, System.Collections.DictionaryBase, System.Xml.XmlNamespaceManager, System.Linq.Lookup< TKey, TElement >, System.Collections.ObjectModel.ReadOnlyCollection< T >, System.Runtime.Remoting.Channels.BaseChannelObjectWithProperties, System.Diagnostics.TraceListenerCollection, System.CodeDom.Compiler.TempFileCollection, System.Security.Cryptography.X509Certificates.X509CertificateCollection, System.Collections.ObjectModel.ReadOnlyDictionary< TKey, TValue >.KeyCollection, System.ComponentModel.TypeConverter.StandardValuesCollection, System.Security.Cryptography.X509Certificates.X509Certificate2Collection, System.CodeDom.CodeNamespaceImportCollection, System.Text.RegularExpressions.MatchCollection, System.Xml.XPath.XPathNodeIterator, System.Collections.Specialized.NameObjectCollectionBase.KeysCollection, System.Text.RegularExpressions.GroupCollection, System.Collections.Specialized.StringCollection, System.Security.Principal.IdentityReferenceCollection, System.Resources.ResourceSet, System.Net.HttpListenerPrefixCollection, System.Security.Permissions.KeyContainerPermissionAccessEntryCollection, System.Security.Cryptography.X509Certificates.X509ExtensionCollection, System.Configuration.SettingsPropertyValueCollection, System.Security.AccessControl.GenericAcl, System.Net.NetworkInformation.IPAddressCollection, System.Net.NetworkInformation.MulticastIPAddressInformationCollection, System.Net.NetworkInformation.UnicastIPAddressInformationCollection, System.Net.NetworkInformation.IPAddressInformationCollection, System.Diagnostics.EventLogEntryCollection, System.Net.NetworkInformation.GatewayIPAddressInformationCollection, System.Security.Cryptography.AsnEncodedDataCollection, System.Configuration.SettingsPropertyCollection, System.Collections.IDictionary, System.Text.RegularExpressions.CaptureCollection, System.ComponentModel.Design.DesignerCollection, System.Linq.ParallelQuery< TSource >, System.Security.Cryptography.OidCollection, System.Security.Cryptography.X509Certificates.X509ChainElementCollection, System.Collections.ReadOnlyCollectionBase, System.Xml.Schema.XmlSchemaObjectCollection, System.Xml.XmlNodeList, System.Collections.Specialized.IOrderedDictionary, System.Resources.IResourceReader, and System.Collections.Generic.IEnumerable< out out T >.


The documentation for this interface was generated from the following file: