DelphiBasics
  Home  |  Delphi .net Home  |  System.Collections NameSpace
 .NET Framework
 Namespace References

 System
 System.Collections
 
  ArrayList  Class 
  BitArray  Class 
  CaseInsensitiveComparer  Class 
  Comparer  Class 
  DictionaryEntry  Structure 
  HashTable  Class 
  ICollection  Interface 
  IComparer  Interface 
  IDictionary  Interface 
  IDictionaryEnumerator  Interface 
  IEnumerator  Interface 
  IList  Interface 
  Queue  Class 
  SortedList  Class 
  Stack  Class 
 System.Globalization
 System.IO

 Articles and Tutorials

 Overview of .NET
 Delphi and .NET
 Winform Applications
 ASP .Net Applications
 ASP Web Services
 Framework Collections
 Framework String Handling
 Framework Files and Folders

 Author links

 Buy Website Traffic at
 Buywebsitetrafficexperts.com

 Buy Proxies at
 Buyproxies.io
 

 
 
  System.Collections.IEnumerator Interface
 
 Description
Calling writeTextBlock Collections are classes that literally hold collections of data, such as lists, queues and stacks. IEnumerator defines the behaviour of a class that allows the items in a collection to be read (but not updated) in sequence.
 
The IEnumerator interface provides the following methods :
 
MoveNext Position to the next item in the list (enumeration). This must be used when first using an IEnumerator, or after a Reset, since position is before the first item
Reset repositions to before the first item in the list (enumeration).

 
A number of classes return a class that implements IEnumerator via the GetEnumerator method. After writeTextBlock
 Properties
Current  Object  The value of the item at the current position in the list (enumeration), or null if the list is Reset.

 Delphi Basics links
 
System.Array.GetEnumerator
System.Collections.ArrayList.GetEnumerator
System.Collections.BitArray.GetEnumerator
System.Collections.HashTable.GetEnumerator
System.Collections.Queue.GetEnumerator
System.Collections.SortedList.GetEnumerator
System.Collections.Stack.GetEnumerator

 Microsoft MSDN links
 
System.Collections
System.Collections.IEnumerator
 
Delphi Programming Neil Moffatt 2002 - 2016. All rights reserved.  |  Home Page