Name

XmlSchemaObjectEnumerator — System.Xml.Schema (system.xml.dll)   sealed class 

Synopsis

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.

Get .NET & XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.