共用方式為


IFileInfo.IsDirectory Property

Definition

Gets a value that indicates whether TryGetDirectoryContents has enumerated a subdirectory.

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

Property Value

Applies to