XmlSchemaCollection.GetEnumerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides support for the "for each" style iteration over the collection of schemas.
public:
System::Xml::Schema::XmlSchemaCollectionEnumerator ^ GetEnumerator();
public System.Xml.Schema.XmlSchemaCollectionEnumerator GetEnumerator();
member this.GetEnumerator : unit -> System.Xml.Schema.XmlSchemaCollectionEnumerator
Public Function GetEnumerator () As XmlSchemaCollectionEnumerator
Returns
An enumerator for iterating over all schemas in the current collection.
Remarks
Important
The XmlSchemaCollection class is obsolete in .NET Framework version 2.0 and has been replaced by the XmlSchemaSet class.