FileSystemEnumerator<TResult>.ShouldIncludeEntry 方法

定義

在衍生類別中覆寫時,判斷指定的檔案系統項目是否應包含在結果中。

protected:
 virtual bool ShouldIncludeEntry(System::IO::Enumeration::FileSystemEntry % entry);
protected virtual bool ShouldIncludeEntry (ref System.IO.Enumeration.FileSystemEntry entry);
abstract member ShouldIncludeEntry : FileSystemEntry -> bool
override this.ShouldIncludeEntry : FileSystemEntry -> bool
Protected Overridable Function ShouldIncludeEntry (ByRef entry As FileSystemEntry) As Boolean

參數

entry
FileSystemEntry

檔案系統項目參考。

傳回

如果指定的檔案系統項目應包含在結果中,則為 true;否則為 false

適用於