System.IO.Enumeration 命名空間

提供類別、結構及委派來搜尋和列舉檔案系統元素。 Provides classes, structs, and delegates to search and enumerate file system elements.

類別

FileSystemEnumerable<TResult>

允許利用自訂篩選述詞並轉換委派來進行列舉。Allows utilizing custom filter predicates and transform delegates for enumeration purposes.

FileSystemEnumerator<TResult>

列舉所提供類型的檔案系統項目,其由 FileSystemEnumerable<TResult> 所搜尋和篩選。Enumerates the file system elements of the provided type that are being searched and filtered by a FileSystemEnumerable<TResult>.

FileSystemName

提供用於比對檔案系統名稱的方法。Provides methods for matching file system names.

結構

FileSystemEntry

提供 FileSystemInfo 的較低層級檢視,用於協助處理與篩選尋找結果。Provides a lower level view of FileSystemInfo to help process and filter find results.

委派

FileSystemEnumerable<TResult>.FindPredicate

封裝用來篩選出尋找結果的方法。Encapsulates a method for filtering out find results.

FileSystemEnumerable<TResult>.FindTransform

封裝方法用於將原始尋找資料轉換成結果的方法。Encapsulates a method for transforming raw find data into a result.