DirectoryEntries 类
定义
包含 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
- 继承
-
DirectoryEntries
- 实现
属性
| SchemaFilter |
获取指定集合包含哪些子对象的架构。Gets the schemas that specify which child objects are contained in the collection. |
方法
| Add(String, String) |
在容器中创建一个新项。Creates a new entry in the container. |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| Find(String) |
返回此集合中具有指定名称的成员。Returns the member of this collection with the specified name. |
| Find(String, String) |
返回此集合中具有指定名称和指定类型的成员。Returns the member of this collection with the specified name and of the specified type. |
| GetEnumerator() |
返回一个循环访问集合的枚举器。Returns an enumerator that iterates through the collection. |
| 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) |
| Remove(DirectoryEntry) |
删除此集合的一个成员。Deletes a member of this collection. |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |
扩展方法
| 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. |