Exposes the enumerator, which iterates over a collection in a simple ForEach style.
IEnumerable
[Visual Basic] Public Interface IEnumerable [C#] public interface IEnumerable [C++] public __gc __interface IEnumerable
[JScript] In JScript, you can use the interfaces in the NGWS frameworks, but you cannot define your own.
Class | Description |
---|---|
ADOErrors | Collects all errors generated by the adapter. |
ADOParameters | Collects all parameters relevant to an ADOCommand and their mappings to DataSet columns. |
ADOProperties | [To be supplied.] |
Array | Provides methods for creating, manipulating, searching, and sorting arrays. This is the base class for all arrays in the system. |
ArrayList | Implements the IList interface using an array whose size is dynamically increased as required. |
BaseCollection | [To be supplied.] |
BaseConfigCollection | A generic implementation of the IConfigCollection interface. |
BaseConfigItem | A generic implementation of the IConfigItem interface. |
BindingManager | Manages the collection of ListManager objects for a Win Form. |
Caching.Cache | [To be supplied.] |
CaptureCollection | Represents a sequence of capture substrings. The object is used to return the set of captures done by a single capturing group. |
CodeAttributeArgumentCollection | Manages a collection of CodeAttributeArgument objects. |
CodeAttributeDeclarationCollection | Manages a collection that stores CodeAttributeDeclaration objects. |
CodeCatchClauseCollection | Manages a collection of CodeCatchClause objects. |
CodeClassCollection | Manages a collection that stores CodeClass objects. |
CodeClassMemberCollection | Manages a collection of CodeClassMember objects. |
CodeExpressionCollection | Manages a collection of CodeExpression objects. |
CodeNamespaceImportCollection | Manages a collection of CodeNamespaceImport objects. |
CodeParameterDeclarationExpressionCollection | Manages a collection of CodeParameterDeclarationExpression objects |
CodeStatementCollection | Manages a collection of CodeStatement objects. |
ColumnCollection | Represents the collection of columns to be displayed in a DataGrid control. |
ComboBox.ObjectCollection | [To be supplied.] |
CompilerErrorCollection | Manages a collection of CompilerError objects. |
Control.ControlCollection | Collection of controls... |
ControlCollection | The ControlCollection class provides a collection container that enables a control to maintain a list of its child controls. |
CounterCreationDataCollection | [To be supplied.] |
DataBindingCollection | [To be supplied.] |
DataColumnMappings | column mapping collection |
DataGridItemCollection | [To be supplied.] |
DataKeyCollection | [To be supplied.] |
DataListItemCollection | [To be supplied.] |
DataSetView | Represents a view of a DataSet with individual filters automatically set on each of its tables. |
DataTableMappings | table mapping collection |
DataView | Represents a databindable, customized view of a DataTable for sorting, filtering, searching, editing, and navigation. |
Dictionary | Represents a collection of associated keys and values. |
DirectoryEntryCollection | Contains the children (child entries) of an entry. |
DirectoryEntryCollection.CollectionOverStringVariantProperty | Represents a collection of objects that can be individually indexed. |
DirectoryEntryPropertyValueCollection | Specifies a collection of values for a multi-valued property. |
DocumentCollection | Provides a read-only collection of documents. |
EventDescriptorCollection | Represents a collection of events. |
EventLog.EventLogEntryCollection | [To be supplied.] |
Evidence | Evidence is the set of information that constitutes input to security policy decisions, such as what permissions can be granted to code. Common forms of evidence include signatures and location of origin of code, but can potentially be anything.
Objects of any type that are recognized by security policy represent evidence. Security policy is composed of code groups; a particular assembly (the basic unit of code for granting security permissions) is a member of a code group if it satisfies its membership condition. Evidence is the set of inputs to policy that membership conditions use to determine what code groups an assembly belongs to. The Evidence class is a collection (ICollection) that holds a set of objects that represent evidence. (Herein big-e Evidence refers to the class; little-e evidence to objects that represent generic evidence.) The Evidence class holds two sets: host evidence and assembly evidence, corresponding to the source of the evidence. Policy can get evidence from two different sources in evaluating permissions for code. Host evidence is provided by the host, and can only be provided by hosts granted the SecurityPermission.ControlEvidence permission. Typically, this is evidence of location of origin of the code and digital signatures on the assembly. Evidence about location origin typically includes URL, Site, and Zone evidence. Signatures refer to software publisher (AuthentiCode?) and strong name identities. Both kinds of digital signature based identity are built into the assembly, but must be validated and passed to policy by the host; when loaded the security system verifies the signature and only if it is valid will the corresponding evidence be collected and passed to policy. Assembly evidence is part of the assembly itself. Developers or administrators can attach custom evidence to the assembly to extend the set of evidence for policy. (Note that signed assemblies may not be modified, and hence cannot have additional evidence added without breaking the existing signature.) |
Hashtable | Represents a collection of associated keys and values that are organized based on the hash code of the key. |
HtmlTableCellCollection | The HtmlTableCellCollection contains all of the table cells, both <td> and <th> elements, found within an HtmlTable server control. |
HtmlTableRowCollection | The HtmlTableRowCollection contains all of the table rows found within an HtmlTable server control. |
Configuration.HttpConfigurationRecord | [To be supplied.] |
HttpStaticObjectsCollection | [To be supplied.] |
ImageList.ImageCollection | [To be supplied.] |
InstallerCollection | Contains a collection of installers to be run during an installation. |
LinkLabel.LinkCollection | [To be supplied.] |
ListBox.ObjectCollection | [To be supplied.] |
ListBox.SelectedIndicesCollection | [To be supplied.] |
ListBox.SelectedObjectCollection | [To be supplied.] |
ListItemCollection | [To be supplied.] |
ListView.ColumnHeaderCollection | [To be supplied.] |
ListView.ListItemCollection | [To be supplied.] |
ListView.SelectedListItemCollection | [To be supplied.] |
MatchCollection | Represents the set of names appearing as capturing group names in a regular expression. |
MemberAttributeCollection | Represents a collection of attributes. |
Menu.MenuItemCollection | [To be supplied.] |
NameObjectCollectionBase | [To be supplied.] |
ObjectList | [To be supplied.] |
PagedDataSource | This class provides a wrapper over an ICollection datasource to implement paging semantics or 'paged views' on top of the underlying datasource. It uses the best available interface to enumerate over the data belonging to the current page. If the underlying datasource supports indexed access (like Array and IList), this wrapper uses it. Otherwise it falls back on IEnumerable. |
PermissionSet | Represents a set of permissions of different types. This class supports all functionality of a permission, for the set of permissions as a whole. |
PrinterSettings.PaperSizeCollection | Collection of PaperSize's... |
PrinterSettings.PaperSourceCollection | Collection of PaperSource's... |
PrinterSettings.PrinterResolutionCollection | Collection of PrinterResolution's... |
PrinterSettings.StringCollection | Collection of String's... |
PropertyDescriptorCollection | Represents a collection of properties. |
Queue | Represents a first-in-first-out collection of objects. |
RecurrencePatterns | Specifies a collection of recurrence patterns that describe the Schedule component's behavior when raising events. |
RepeaterItemCollection | [To be supplied.] |
ResourceReader | Provides a default implementation of the IResourceReader interface and implements a resource reader. Resource readers are used to read resource name and resource value pairs from ".resources" files. These methods are used to advance to the next resource and read the name and value of each resource in the ".resources" file. This class can be used to enumerate the resources only one time. |
SearchResults | [To be supplied.] |
SelectedDatesCollection | [To be supplied.] |
SortedList | Represents a collection of associated keys and values, which are sorted by the keys and are accessible both by key and by index. |
SQLErrors | Collects all errors generated by the SQL Server adapter. |
SQLParameters | Collects all parameters relevant to a SQLCommand and their mappings to DataSet columns. |
Stack | Represents a simple queue of Object. |
StatusBar.StatusBarPanelCollection | [To be supplied.] |
StringCollection | Collection of Strings |
StringTable | Represents an unsorted set of strings. |
TabControl.TabPageCollection | [To be supplied.] |
TableCellCollection | [To be supplied.] |
TableRowCollection | [To be supplied.] |
TempFiles | Collection of temporary file names that are all based on a single base filename located in some temporary directory. |
ToolBar.ToolBarButtonCollection | [To be supplied.] |
TraceListeners | Provides a thread-safe list of TraceListeners. A thread-safe list is synchronized. |
TreeNodeCollection | [To be supplied.] |
TypeConverter.StandardValuesCollection | Represents a collection of values. |
TypedCollectionBase | [To be supplied.] |
TypedReadonlyCollectionBase | [To be supplied.] |
ValidatorCollection | The ValidatorCollection class. Exposes a read-only array of IValidator references. |
XmlNamedNodeMap | Represents a collection of nodes that can be accessed by name or index. |
XmlNode | Represents a single node in the document. |
XmlNodeList | Represents an ordered collection of nodes. |
Notes to Implementers:
IEnumerable must be implemented to support VB's ForEach semantics. COM classes that allow enumerators will also implement this interface.
Namespace: System.Collections
Assembly: mscorlib.dll
IEnumerable Members | System.Collections Namespace | IEnumerator