BasicProfileViolationEnumerator 类
定义
枚举 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)
- 继承
-
BasicProfileViolationEnumerator
- 实现
构造函数
| BasicProfileViolationEnumerator(BasicProfileViolationCollection) |
初始化 BasicProfileViolationEnumerator 类的新实例。Initializes a new instance of the BasicProfileViolationEnumerator class. |
属性
| Current |
获取 BasicProfileViolation 中的当前 BasicProfileViolationCollection 元素。Gets the current BasicProfileViolation element in the BasicProfileViolationCollection. |
方法
| Dispose() |
Releases all resources 使用 BasicProfileViolationEnumerator 类的当前实例释放所有资源。使用 BasicProfileViolationEnumerator 释放所有资源。Releases all resources used by the current instance of the BasicProfileViolationEnumerator class.Releases all resources used by the BasicProfileViolationEnumerator. |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| MoveNext() |
枚举到 BasicProfileViolationCollection 中的下一个元素。Enumerates to the next element in the BasicProfileViolationCollection. |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |
显式接口实现
| IEnumerator.Current |
获取 BasicProfileViolationCollection 中的当前元素。Gets the current element in the BasicProfileViolationCollection. |
| IEnumerator.Reset() |
将枚举数设置到其初始位置,该位置位于 BasicProfileViolationCollection 中第一个元素之前。Sets the enumerator to its initial position, which is before the first element in the BasicProfileViolationCollection. |