共用方式為


IFileInfo.IsDirectory 屬性

定義

當 case TryGetDirectoryContents 已列舉子目錄時,則為 true。

public:
 property bool IsDirectory { bool get(); };
public bool IsDirectory { get; }
member this.IsDirectory : bool
Public ReadOnly Property IsDirectory As Boolean

屬性值

適用於