XmlSchemaEnumerator Class

Definition

啟用對 XmlSchema 物件集合的反覆運算。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
type XmlSchemaEnumerator = class
    interface IEnumerator<XmlSchema>
    interface IDisposable
    interface IEnumerator
Public Class XmlSchemaEnumerator
Implements IEnumerator(Of XmlSchema)
Inheritance
XmlSchemaEnumerator
Implements

Remarks

使用 XmlSchemaEnumerator,在 XmlSchemas 類別的實例所包含的 XmlSchema 物件集合上執行每個反覆運算。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)

XmlSchemaEnumerator 類別的新執行個體初始化。Initializes a new instance of the XmlSchemaEnumerator class.

Properties

Current

取得集合中的目前元素。Gets the current element in the collection.

Methods

Dispose()

釋放 XmlSchemaEnumerator 使用的所有資源。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()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

建立目前 Object 的淺層複製。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

取得 XmlSchema 物件集合中目前的項目。Gets the current element in the collection of XmlSchema objects.

IEnumerator.Reset()

將列舉程式設定至它的初始位置,即 XmlSchema 物件集合中的第一個項目之前。Sets the enumerator to its initial position, which is before the first element in the collection of XmlSchema objects.

Applies to