[ Team LiB ] Previous Section Next Section

XmlSchemaObjectEnumeratorSystem.Xml.Schema (system.xml.dll)   sealed class 

public sealed class XmlSchemaObjectEnumerator : IEnumerator {
// Public Instance Properties
   public XmlSchemaObject Current{get; } 
// Public Instance Methods
   public bool MoveNext( );                                            // implements IEnumerator
   public void Reset( );                                               // implements IEnumerator
}

This type, which implements the IEnumerator interface, is returned by the GetEnumerator( ) methods of XmlSchemaObjectCollection and XmlSchemaObjectTable and provides a mechanism to iterate over their elements. The MoveNext( ) method moves the enumerator to the next element, and the Current property returns the instance of XmlSchemaObject at the enumerator's current location.

    [ Team LiB ] Previous Section Next Section