XmlSchemaEnumerator XmlSchemaEnumerator XmlSchemaEnumerator XmlSchemaEnumerator Class


啟用對 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
Public Class XmlSchemaEnumerator
Implements IEnumerator(Of XmlSchema)


使用XmlSchemaEnumerator集合上執行的每個反覆項目XmlSchema的執行個體所包含的物件XmlSchemas類別。Use the XmlSchemaEnumerator to perform for-each iterations over a collection of XmlSchema objects contained by an instance of the XmlSchemas class.


XmlSchemaEnumerator(XmlSchemas) XmlSchemaEnumerator(XmlSchemas) XmlSchemaEnumerator(XmlSchemas) XmlSchemaEnumerator(XmlSchemas)

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


Current Current Current Current

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


Dispose() Dispose() Dispose() Dispose()

釋放 XmlSchemaEnumerator 所使用的所有資源。Releases all resources used by the XmlSchemaEnumerator.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
MoveNext() MoveNext() MoveNext() MoveNext()

將列舉程式推進到集合的下一個項目。Advances the enumerator to the next item in the collection.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)


IEnumerator.Current IEnumerator.Current IEnumerator.Current IEnumerator.Current

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

IEnumerator.Reset() IEnumerator.Reset() IEnumerator.Reset() IEnumerator.Reset()

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