語言

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

適用於