共用方式為


DirectoryInfoBase 類別

定義

代表目錄。

public ref class DirectoryInfoBase abstract : Microsoft::Extensions::FileSystemGlobbing::Abstractions::FileSystemInfoBase
public abstract class DirectoryInfoBase : Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase
type DirectoryInfoBase = class
    inherit FileSystemInfoBase
Public MustInherit Class DirectoryInfoBase
Inherits FileSystemInfoBase
繼承
DirectoryInfoBase
衍生

建構函式

DirectoryInfoBase()

代表目錄。

屬性

FullName

包含檔案或目錄完整路徑的字串。

(繼承來源 FileSystemInfoBase)
Name

包含檔案或目錄名稱的字串。

(繼承來源 FileSystemInfoBase)
ParentDirectory

目前檔案或目錄的父目錄。

(繼承來源 FileSystemInfoBase)

方法

EnumerateFileSystemInfos()

列舉目錄中的所有檔案和目錄。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetDirectory(String)

傳回表示子目錄的 DirectoryInfoBase 執行個體。

GetFile(String)

傳回表示目錄中檔案的 FileInfoBase 執行個體。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於