FileSystemEnumerator<TResult>.ShouldIncludeEntry 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在派生类中重写时,确定是否应将指定的文件系统条目包含在结果中。
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.