AceEnumerator 类

定义

提供遍历访问控制列表 (ACL) 中的访问控制项 (ACE) 的能力。Provides the ability to iterate through the access control entries (ACEs) in an access control list (ACL).

public ref class AceEnumerator sealed : System::Collections::IEnumerator
public sealed class AceEnumerator : System.Collections.IEnumerator
type AceEnumerator = class
    interface IEnumerator
Public NotInheritable Class AceEnumerator
Implements IEnumerator
继承
AceEnumerator
实现

属性

Current

获取 GenericAce 集合中的当前元素。Gets the current element in the GenericAce collection. 此属性获取对象的类型易于转换的版本。This property gets the type-friendly version of the object.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
MoveNext()

将枚举器前进到 GenericAce 集合的下一个元素。Advances the enumerator to the next element of the GenericAce collection.

Reset()

将枚举数设置为其初始位置,该位置位于 GenericAce 集合中第一个元素之前。Sets the enumerator to its initial position, which is before the first element in the GenericAce collection.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

显式界面实现

IEnumerator.Current

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

适用于