FileSystemEntry.IsDirectory 属性

定义

获取一个值,该值指示此项是否为目录。Gets a value that indicates whether this entry is a directory.

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

属性值

Boolean

true 如果项是目录,则为; 否则为。否则为 falsetrue if the entry is a directory; otherwise, false.

适用于