XmlSchemaEnumerator Class

Definition

Enables iteration over a collection of XmlSchema objects.

public ref class XmlSchemaEnumerator : System::Collections::Generic::IEnumerator<System::Xml::Schema::XmlSchema ^>
public class XmlSchemaEnumerator : System.Collections.Generic.IEnumerator<System.Xml.Schema.XmlSchema>
type XmlSchemaEnumerator = class
    interface IEnumerator<XmlSchema>
    interface IEnumerator
    interface IDisposable
Public Class XmlSchemaEnumerator
Implements IEnumerator(Of XmlSchema)
Inheritance
XmlSchemaEnumerator
Implements

Remarks

Use the XmlSchemaEnumerator to perform for-each iterations over a collection of XmlSchema objects contained by an instance of the XmlSchemas class.

Constructors

XmlSchemaEnumerator(XmlSchemas)

Initializes a new instance of the XmlSchemaEnumerator class.

Properties

Current

Gets the current element in the collection.

Methods

Dispose()

Releases all resources used by the XmlSchemaEnumerator.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MoveNext()

Advances the enumerator to the next item in the collection.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IEnumerator.Current

Gets the current element in the collection of XmlSchema objects.

IEnumerator.Reset()

Sets the enumerator to its initial position, which is before the first element in the collection of XmlSchema objects.

Applies to