Edit

Share via


XmlSchemaCollection.GetEnumerator Method

Definition

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.

Applies to

See also