BasicProfileViolationEnumerator BasicProfileViolationEnumerator BasicProfileViolationEnumerator BasicProfileViolationEnumerator Class

定義

列舉 BasicProfileViolationCollection 中的項目。Enumerates the elements in a BasicProfileViolationCollection.

public ref class BasicProfileViolationEnumerator : System::Collections::Generic::IEnumerator<System::Web::Services::Description::BasicProfileViolation ^>
public class BasicProfileViolationEnumerator : System.Collections.Generic.IEnumerator<System.Web.Services.Description.BasicProfileViolation>
type BasicProfileViolationEnumerator = class
    interface IEnumerator<BasicProfileViolation>
    interface IDisposable
    interface IEnumerator
Public Class BasicProfileViolationEnumerator
Implements IEnumerator(Of BasicProfileViolation)
繼承
BasicProfileViolationEnumeratorBasicProfileViolationEnumeratorBasicProfileViolationEnumeratorBasicProfileViolationEnumerator
實作

建構函式

BasicProfileViolationEnumerator(BasicProfileViolationCollection) BasicProfileViolationEnumerator(BasicProfileViolationCollection) BasicProfileViolationEnumerator(BasicProfileViolationCollection) BasicProfileViolationEnumerator(BasicProfileViolationCollection)

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

屬性

Current Current Current Current

取得 BasicProfileViolation 中目前的 BasicProfileViolationCollection 項目。Gets the current BasicProfileViolation element in the BasicProfileViolationCollection.

方法

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

釋放 BasicProfileViolationEnumerator 類別目前的執行個體所使用的全部資源。釋放 BasicProfileViolationEnumerator 所使用的全部資源。Releases all resources used by the current instance of the BasicProfileViolationEnumerator class.Releases all resources used by the BasicProfileViolationEnumerator.

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()

列舉 BasicProfileViolationCollection 中的下一個項目。Enumerates to the next element in the BasicProfileViolationCollection.

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

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

(Inherited from Object)

明確介面實作

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

取得 BasicProfileViolationCollection 中目前的項目。Gets the current element in the BasicProfileViolationCollection.

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

將列舉值設定至其初始位置,也就是 BasicProfileViolationCollection 中的第一個項目之前。Sets the enumerator to its initial position, which is before the first element in the BasicProfileViolationCollection.

適用於