System::IO::FileAttributes enum

FileAttributes enum

表示目录或文件的属性。

enum class FileAttributes

名称描述
Archive32文件系统实体是删除或备份的候选对象。
Compressed2048文件系统实体已压缩。
Device64未使用。
Directory16文件系统实体是一个目录。
Encrypted16384文件系统实体已加密。
隐藏2文件系统实体是隐藏的。
IntegrityStream32768文件系统实体包含数据完整性支持。
Normal128文件系统实体是没有特殊属性的文件。
NotContentIndexed8192文件系统实体不会被内容索引服务索引。
NoScrubData131072文件系统实体未包含在数据完整性扫描中。
Offline4096文件系统实体处于离线状态,其数据无法立即获取。
ReadOnly1文件系统实体是只读的。
ReparsePoint1024文件系统实体是包含重新解析点的文件。
SparseFile512文件系统实体是稀疏文件。
System4文件系统实体是系统文件。
临时256文件系统实体是临时文件。
无效0无效的值。

另见