System.Xml.Schema.XmlSchemaCollection.GetEnumerator Method

Provides support for the "for each" style iteration over the collection of schemas.

Syntax

public XmlSchemaCollectionEnumerator GetEnumerator ()

Returns

An enumerator for iterating over all schemas in the current collection.

Remarks

Note:

The System.Xml.Schema.XmlSchemaCollection class is obsolete in the .NET Framework version 2.0 and has been replaced by the System.Xml.Schema.XmlSchemaSet class.

Requirements

Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0