NotFoundDirectoryContents 类

定义

表示不存在的目录。Represents a non-existing directory.

public ref class NotFoundDirectoryContents : Microsoft::Extensions::FileProviders::IDirectoryContents, System::Collections::Generic::IEnumerable<Microsoft::Extensions::FileProviders::IFileInfo ^>
public class NotFoundDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileInfo>
type NotFoundDirectoryContents = class
    interface IDirectoryContents
    interface seq<IFileInfo>
    interface IEnumerable
Public Class NotFoundDirectoryContents
Implements IDirectoryContents, IEnumerable(Of IFileInfo)
继承
NotFoundDirectoryContents
实现

构造函数

NotFoundDirectoryContents()

属性

Exists

始终为 false。Always false.

Singleton

共享的 NotFoundDirectoryContents 实例A shared instance of NotFoundDirectoryContents

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetEnumerator()

返回循环访问集合的枚举器。Returns an enumerator that iterates through the collection.

GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

显式接口实现

IEnumerable.GetEnumerator()

扩展方法

CopyToDataTable<T>(IEnumerable<T>)

在给定其泛型参数 DataTableDataRow 的输入 IEnumerable<T> 对象的情况下,返回包含 T 对象副本的 DataRowReturns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

在给定其泛型参数 DataRowDataTable 的输入 IEnumerable<T> 对象的情况下,将 T 对象复制到指定的 DataRowCopies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

在给定其泛型参数 DataRowDataTable 的输入 IEnumerable<T> 对象的情况下,将 T 对象复制到指定的 DataRowCopies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

适用于