PhysicalDirectoryContents 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示物理文件目录的内容。
public ref class PhysicalDirectoryContents : Microsoft::Extensions::FileProviders::IDirectoryContents, System::Collections::Generic::IEnumerable<Microsoft::Extensions::FileProviders::IFileInfo ^>
public class PhysicalDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileInfo>
type PhysicalDirectoryContents = class
interface IDirectoryContents
interface seq<IFileInfo>
interface IEnumerable
Public Class PhysicalDirectoryContents
Implements IDirectoryContents, IEnumerable(Of IFileInfo)
- 继承
-
PhysicalDirectoryContents
- 实现
注解
此 API 支持 .NET 基础结构,不应直接从代码使用。
构造函数
PhysicalDirectoryContents(String) |
初始化 PhysicalDirectoryContents 的实例。 |
PhysicalDirectoryContents(String, ExclusionFilters) |
初始化 PhysicalDirectoryContents 的实例。 |
属性
Exists |
获取一个值,该值指示目录是否位于此路径。 |
方法
Equals(Object) |
确定指定对象是否等于当前对象。 (继承自 Object) |
GetEnumerator() |
返回一个循环访问集合的枚举器。 |
GetHashCode() |
作为默认哈希函数。 (继承自 Object) |
GetType() |
获取当前实例的 Type。 (继承自 Object) |
MemberwiseClone() |
创建当前 Object 的浅表副本。 (继承自 Object) |
ToString() |
返回表示当前对象的字符串。 (继承自 Object) |
显式接口实现
IEnumerable.GetEnumerator() |
返回循环访问集合的枚举数。 |
扩展方法
CopyToDataTable<T>(IEnumerable<T>) |
在给定其泛型参数 |
CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) |
在给定其泛型参数 |
CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) |
在给定其泛型参数 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈