NtfsFileAttributes Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
NTFS file attributes for Files and Directories.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum NtfsFileAttributes
[<System.Flags>]
type NtfsFileAttributes =
Public Enum NtfsFileAttributes
- Inheritance
-
NtfsFileAttributes
- Attributes
Fields
Archive | 32 | The file is a candidate for backup or removal. |
Directory | 16 | The file is a directory. |
2 | The File or Directory is hidden, and thus is not included in an ordinary directory listing. |
|
None | 8 | The file or directory is a standard file that has no special attributes. This attribute is valid only if it is used alone. |
NoScrubData | 512 | The file or directory is excluded from the data integrity scan. When this value is applied to a directory, by default, all new files and subdirectories within that directory are excluded from data integrity. |
NotContentIndexed | 256 | The file or directory will not be indexed by the operating system's content indexing service. |
Offline | 128 | The file or directory is offline. The data of the file is not immediately available. |
ReadOnly | 1 | The File or Directory is read-only. |
System | 4 | The File or Directory is a systemfile. That is, the file is part of the operating system or is used exclusively by the operating system. |
Temporary | 64 | The file or directory is temporary. A temporary file contains data that is needed while an application is executing but is not needed after the application is finished. File systems try to keep all the data in memory for quicker access rather than flushing the data back to mass storage. A temporary file should be deleted by the application as soon as it is no longer needed. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應