DirectoryEntries DirectoryEntries DirectoryEntries DirectoryEntries Class

定义

包含 DirectoryEntry 对象的集合。Contains a collection of DirectoryEntry objects.

public ref class DirectoryEntries : System::Collections::IEnumerable
public class DirectoryEntries : System.Collections.IEnumerable
type DirectoryEntries = class
    interface IEnumerable
Public Class DirectoryEntries
Implements IEnumerable
继承
DirectoryEntriesDirectoryEntriesDirectoryEntriesDirectoryEntries
实现

属性

SchemaFilter SchemaFilter SchemaFilter SchemaFilter

获取指定集合包含哪些子对象的架构。Gets the schemas that specify which child objects are contained in the collection.

方法

Add(String, String) Add(String, String) Add(String, String) Add(String, String)

在容器中创建一个新项。Creates a new entry in the container.

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

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

(Inherited from Object)
Find(String) Find(String) Find(String) Find(String)

返回此集合中具有指定名称的成员。Returns the member of this collection with the specified name.

Find(String, String) Find(String, String) Find(String, String) Find(String, String)

返回此集合中具有指定名称和指定类型的成员。Returns the member of this collection with the specified name and of the specified type.

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

返回一个循环访问集合的枚举器。Returns an enumerator that iterates through the collection.

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 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(DirectoryEntry) Remove(DirectoryEntry) Remove(DirectoryEntry) Remove(DirectoryEntry)

删除此集合的一个成员。Deletes a member of this collection.

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

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

扩展方法

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

IEnumerable 的元素强制转换为指定的类型。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

根据指定类型筛选 IEnumerable 的元素。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

启用查询的并行化。Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.

安全性

DirectoryServicesPermission
LinkDemand

适用于

另请参阅