IEnumerator

IEnumerator CF 1.0, ECMA 1.0

System.Collections (mscorlib.dll) interface

This interface provides an enumerator to iterate over the elements of a collection. The Current property gets the current element in the iteration. MoveNext( ) advances to the next collection element. Reset( ) returns the position of the iteration to the start of the collection, just before the first element; an initial call to MoveNext( ) is necessary to retrieve the first element of the collection.

 public interface  IEnumerator  {  // Public Instance Properties  public object  Current  {get; }  // Public Instance Methods  public bool  MoveNext  ( );    public void  Reset  ( ); } 

Implemented By

IDictionaryEnumerator , System.CharEnumerator , System.Globalization.TextElementEnumerator , System.Runtime.Serialization.SerializationInfoEnumerator

Returned By

Multiple types



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net