XmlSchemaCollection.GetEnumerator 方法

定义

提供对架构集合的“for each”样式迭代的支持。

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

返回

用于循环访问当前集合中的所有架构的枚举器。

注解

Important

XmlSchemaCollection 类在 .NET Framework 版本 2.0 中已过时,已被类 XmlSchemaSet 替换。

适用于

另请参阅