语言

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.

适用于