AdamRoleCollection 类
定义
AdamRoleCollection 类是包含 AdamRole 项的只读集合。The AdamRoleCollection class is a read-only collection that contains AdamRole items.
public ref class AdamRoleCollection : System::Collections::ReadOnlyCollectionBase
public class AdamRoleCollection : System.Collections.ReadOnlyCollectionBase
type AdamRoleCollection = class
inherit ReadOnlyCollectionBase
Public Class AdamRoleCollection
Inherits ReadOnlyCollectionBase
- 继承
注解
备注
AdamRoleCollection类引用已重命名为 Active Directory 轻型目录服务 (AD LDS) 的 Active Directory 应用程序模式 (ADAM) 。The AdamRoleCollection class refers to Active Directory Application Mode (ADAM) which has been renamed to Active Directory Lightweight Directory Services (AD LDS).
属性
| Count |
获取 ReadOnlyCollectionBase 实例中包含的元素数。Gets the number of elements contained in the ReadOnlyCollectionBase instance. (继承自 ReadOnlyCollectionBase) |
| InnerList |
获取 ReadOnlyCollectionBase 实例中包含的元素的列表。Gets the list of elements contained in the ReadOnlyCollectionBase instance. (继承自 ReadOnlyCollectionBase) |
| Item[Int32] |
获取此集合中的 AdamRole 项。Gets an AdamRole item in this collection. |
方法
| Contains(AdamRole) |
确定指定的 AdamRole 项是否在此集合中。Determines if the specified AdamRole item is in this collection. |
| CopyTo(AdamRole[], Int32) |
将此集合中的所有 AdamRole 对象复制到指定数组,从目标数组的指定索引处开始。Copies all AdamRole items in this collection to the specified array, starting at the specified index of the target array. |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetEnumerator() |
返回循环访问 ReadOnlyCollectionBase 实例的枚举器。Returns an enumerator that iterates through the ReadOnlyCollectionBase instance. (继承自 ReadOnlyCollectionBase) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| IndexOf(AdamRole) |
返回指定的 AdamRole 项在此集合中的第一个匹配项。Returns the first occurrence of the specified AdamRole item in this collection. |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |
显式接口实现
| ICollection.CopyTo(Array, Int32) |
从目标数组的指定索引处开始将整个 ReadOnlyCollectionBase 复制到兼容的一维 Array。Copies the entire ReadOnlyCollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. (继承自 ReadOnlyCollectionBase) |
| ICollection.IsSynchronized |
获取一个值,该值指示对 ReadOnlyCollectionBase 对象的访问是否同步(线程安全)。Gets a value indicating whether access to a ReadOnlyCollectionBase object is synchronized (thread safe). (继承自 ReadOnlyCollectionBase) |
| ICollection.SyncRoot |
获取一个对象,该对象可用于同步对 ReadOnlyCollectionBase 对象的访问。Gets an object that can be used to synchronize access to a ReadOnlyCollectionBase object. (继承自 ReadOnlyCollectionBase) |
扩展方法
| Cast<TResult>(IEnumerable) |
将 IEnumerable 的元素强制转换为指定的类型。Casts the elements of an IEnumerable to the specified type. |
| OfType<TResult>(IEnumerable) |
根据指定类型筛选 IEnumerable 的元素。Filters the elements of an IEnumerable based on a specified type. |
| AsParallel(IEnumerable) |
启用查询的并行化。Enables parallelization of a query. |
| AsQueryable(IEnumerable) |
将 IEnumerable 转换为 IQueryable。Converts an IEnumerable to an IQueryable. |