DirectoryEntries 類別

定義

包含 DirectoryEntry 物件的集合。

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

取得指定哪些子物件包含於集合中的結構描述。

方法

Add(String, String)

在容器 (Container) 中建立新項目。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
Find(String)

傳回具有指定之名稱的這個集合成員。

Find(String, String)

傳回具有指定之名稱和型別的這個集合成員。

GetEnumerator()

傳回逐一查看集合的列舉值。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Remove(DirectoryEntry)

刪除這個集合的成員。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

擴充方法

Cast<TResult>(IEnumerable)

IEnumerable 的項目轉換成指定的型別。

OfType<TResult>(IEnumerable)

根據指定的型別來篩選 IEnumerable 的項目。

AsParallel(IEnumerable)

啟用查詢的平行化作業。

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryable

適用於

另請參閱